summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-01-31 08:19:36 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-01-31 08:19:36 +0100
commit9914db8daa5fc58994179f8d4addc962117a64ab (patch)
tree03785502ec40496143ee3e4582a9a6714f370f49 /src
parentMerge pull request #5851 from ameerj/pop-inv-stub (diff)
downloadyuzu-9914db8daa5fc58994179f8d4addc962117a64ab.tar
yuzu-9914db8daa5fc58994179f8d4addc962117a64ab.tar.gz
yuzu-9914db8daa5fc58994179f8d4addc962117a64ab.tar.bz2
yuzu-9914db8daa5fc58994179f8d4addc962117a64ab.tar.lz
yuzu-9914db8daa5fc58994179f8d4addc962117a64ab.tar.xz
yuzu-9914db8daa5fc58994179f8d4addc962117a64ab.tar.zst
yuzu-9914db8daa5fc58994179f8d4addc962117a64ab.zip
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:
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);