VERY experimental Nintendo Switch 2 emulator
C++
nifm: GetAppletInfo stub
David Marcec83cb5a2c742e
diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cppindex 2e9d951954..7eef35e54f 100644--- a/src/core/hle/service/nifm/nifm.cpp+++ b/src/core/hle/service/nifm/nifm.cpp@@ -62,7 +62,7 @@ public:{18, nullptr, "SetRequirementByRevision"},{19, nullptr, "GetRequirement"},{20, nullptr, "GetRevision"},- {21, nullptr, "GetAppletInfo"},+ {21, &IRequest::GetAppletInfo, "GetAppletInfo"},{22, nullptr, "GetAdditionalInfo"},{23, nullptr, "SetKeptInSleep"},{24, nullptr, "RegisterSocketDescriptor"},@@ -125,6 +125,13 @@ private: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;};