aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2021-01-31 23:33:11 -0500
committerGitHub <noreply@github.com>2021-01-31 23:33:11 -0500
commita57a3172ce2c9617089ffaef9f0fc16e28ea154c (patch)
treed61767b4c2711668b0b94667a268c97e343767a3 /src
parent179fb1e2f0dcd9353bc41d5a57784b9954625f1a (diff)
parent3bd2f586a1c7bcacb9f3c92097811effa1d4c810 (diff)
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 ef5176beaf..b22742148b 100644
--- a/src/core/hle/service/nifm/nifm.cpp
+++ b/src/core/hle/service/nifm/nifm.cpp
@@ -128,7 +128,11 @@ private:
void GetAppletInfo(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_NIFM, "(STUBBED) called");
- IPC::ResponseBuilder rb{ctx, 8};
+ std::vector<u8> out_buffer(ctx.GetWriteBufferSize());
+
+ ctx.WriteBuffer(out_buffer);
+
+ IPC::ResponseBuilder rb{ctx, 5};
rb.Push(RESULT_SUCCESS);
rb.Push<u32>(0);
rb.Push<u32>(0);