diff options
author | Ameer J <52414509+ameerj@users.noreply.github.com> | 2021-02-01 05:33:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-01 05:33:11 +0100 |
commit | f614d7d887435c9a05112e96ff63156276cf9b52 (patch) | |
tree | d61767b4c2711668b0b94667a268c97e343767a3 /src/core | |
parent | Merge pull request #5858 from Morph1984/IsGamePlayRecordingSupported-stub (diff) | |
parent | nifm: Fix GetAppletInfo stub (diff) | |
download | yuzu-f614d7d887435c9a05112e96ff63156276cf9b52.tar yuzu-f614d7d887435c9a05112e96ff63156276cf9b52.tar.gz yuzu-f614d7d887435c9a05112e96ff63156276cf9b52.tar.bz2 yuzu-f614d7d887435c9a05112e96ff63156276cf9b52.tar.lz yuzu-f614d7d887435c9a05112e96ff63156276cf9b52.tar.xz yuzu-f614d7d887435c9a05112e96ff63156276cf9b52.tar.zst yuzu-f614d7d887435c9a05112e96ff63156276cf9b52.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/nifm/nifm.cpp | 6 |
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); |