summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Ameer J2021-01-31 23:33:11 -0500
committerGravatar GitHub2021-01-31 23:33:11 -0500
commitf614d7d887435c9a05112e96ff63156276cf9b52 (patch)
treed61767b4c2711668b0b94667a268c97e343767a3 /src
parentMerge pull request #5858 from Morph1984/IsGamePlayRecordingSupported-stub (diff)
parentnifm: Fix GetAppletInfo stub (diff)
downloadyuzu-f614d7d887435c9a05112e96ff63156276cf9b52.tar.gz
yuzu-f614d7d887435c9a05112e96ff63156276cf9b52.tar.xz
yuzu-f614d7d887435c9a05112e96ff63156276cf9b52.zip
Merge pull request #5856 from Morph1984/nifm-fix-getappletinfo-stub
nifm: Fix GetAppletInfo stub
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/nifm/nifm.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp
index ef5176bea..b22742148 100644
--- a/src/core/hle/service/nifm/nifm.cpp
+++ b/src/core/hle/service/nifm/nifm.cpp
@@ -128,7 +128,11 @@ private:
128 void GetAppletInfo(Kernel::HLERequestContext& ctx) { 128 void GetAppletInfo(Kernel::HLERequestContext& ctx) {
129 LOG_WARNING(Service_NIFM, "(STUBBED) called"); 129 LOG_WARNING(Service_NIFM, "(STUBBED) called");
130 130
131 IPC::ResponseBuilder rb{ctx, 8}; 131 std::vector<u8> out_buffer(ctx.GetWriteBufferSize());
132
133 ctx.WriteBuffer(out_buffer);
134
135 IPC::ResponseBuilder rb{ctx, 5};
132 rb.Push(RESULT_SUCCESS); 136 rb.Push(RESULT_SUCCESS);
133 rb.Push<u32>(0); 137 rb.Push<u32>(0);
134 rb.Push<u32>(0); 138 rb.Push<u32>(0);