summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar David Marcec2020-07-21 14:06:52 +1000
committerGravatar David Marcec2020-10-20 16:42:40 +1100
commitacd35e1b60b7e0420b7f385515bff8a2f4465874 (patch)
treebfccfc857c0cbd6a781ab9633eaa60ef4bf88d05 /src
parentMerge pull request #4785 from Morph1984/fs-hades (diff)
downloadyuzu-acd35e1b60b7e0420b7f385515bff8a2f4465874.tar.gz
yuzu-acd35e1b60b7e0420b7f385515bff8a2f4465874.tar.xz
yuzu-acd35e1b60b7e0420b7f385515bff8a2f4465874.zip
nifm: GetAppletInfo stub
Fixes crash for Catherine Full Body
Diffstat (limited to '')
-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:
62 {18, nullptr, "SetRequirementByRevision"}, 62 {18, nullptr, "SetRequirementByRevision"},
63 {19, nullptr, "GetRequirement"}, 63 {19, nullptr, "GetRequirement"},
64 {20, nullptr, "GetRevision"}, 64 {20, nullptr, "GetRevision"},
65 {21, nullptr, "GetAppletInfo"}, 65 {21, &IRequest::GetAppletInfo, "GetAppletInfo"},
66 {22, nullptr, "GetAdditionalInfo"}, 66 {22, nullptr, "GetAdditionalInfo"},
67 {23, nullptr, "SetKeptInSleep"}, 67 {23, nullptr, "SetKeptInSleep"},
68 {24, nullptr, "RegisterSocketDescriptor"}, 68 {24, nullptr, "RegisterSocketDescriptor"},
@@ -125,6 +125,13 @@ private:
125 rb.Push(RESULT_SUCCESS); 125 rb.Push(RESULT_SUCCESS);
126 } 126 }
127 127
128 void GetAppletInfo(Kernel::HLERequestContext& ctx) {
129 LOG_WARNING(Service_NIFM, "(STUBBED) called");
130
131 IPC::ResponseBuilder rb{ctx, 2};
132 rb.Push(RESULT_SUCCESS);
133 }
134
128 Kernel::EventPair event1, event2; 135 Kernel::EventPair event1, event2;
129}; 136};
130 137