yuzu-emu
/
yuzu
Archived
1
0
Fork 0

nifm: GetAppletInfo stub

Fixes crash for Catherine Full Body
This commit is contained in:
David Marcec 2020-07-21 14:06:52 +10:00
parent e7a26ecec5
commit acd35e1b60
1 changed files with 8 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public:
{18, nullptr, "SetRequirementByRevision"}, {18, nullptr, "SetRequirementByRevision"},
{19, nullptr, "GetRequirement"}, {19, nullptr, "GetRequirement"},
{20, nullptr, "GetRevision"}, {20, nullptr, "GetRevision"},
{21, nullptr, "GetAppletInfo"}, {21, &IRequest::GetAppletInfo, "GetAppletInfo"},
{22, nullptr, "GetAdditionalInfo"}, {22, nullptr, "GetAdditionalInfo"},
{23, nullptr, "SetKeptInSleep"}, {23, nullptr, "SetKeptInSleep"},
{24, nullptr, "RegisterSocketDescriptor"}, {24, nullptr, "RegisterSocketDescriptor"},
@ -125,6 +125,13 @@ private:
rb.Push(RESULT_SUCCESS); rb.Push(RESULT_SUCCESS);
} }
void GetAppletInfo(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_NIFM, "(STUBBED) called");
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
}
Kernel::EventPair event1, event2; Kernel::EventPair event1, event2;
}; };