forked from ShuriZma/suyu
1
0
Fork 0

nifm: Fix GetAppletInfo stub

This commit is contained in:
Morph 2021-01-31 02:19:36 -05:00
parent 94f660d1cb
commit 9914db8daa
1 changed files with 5 additions and 1 deletions

View File

@ -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);