nifm: Fix GetAppletInfo stub

This commit is contained in:
Morph 2021-01-31 02:19:36 -05:00
parent 94f660d1cb
commit 9914db8daa

View File

@ -128,7 +128,11 @@ private:
void GetAppletInfo(Kernel::HLERequestContext& ctx) { void GetAppletInfo(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_NIFM, "(STUBBED) called"); 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(RESULT_SUCCESS);
rb.Push<u32>(0); rb.Push<u32>(0);
rb.Push<u32>(0); rb.Push<u32>(0);