summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2020-07-21 14:06:52 +1000
committerDavid Marcec <dmarcecguzman@gmail.com>2020-10-20 16:42:40 +1100
commitacd35e1b60b7e0420b7f385515bff8a2f4465874 (patch)
treebfccfc857c0cbd6a781ab9633eaa60ef4bf88d05
parente7a26ecec591c916ef0c4941e07be9723fb3b4fa (diff)
nifm: GetAppletInfo stub
Fixes crash for Catherine Full Body
-rw-r--r--src/core/hle/service/nifm/nifm.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp
index 2e9d95195..7eef35e54 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;
};