diff options
| author | 2020-10-20 15:59:19 -0700 | |
|---|---|---|
| committer | 2020-10-20 15:59:19 -0700 | |
| commit | 940c3bf68deff4f45c2dc3c2549c00cff4e1b586 (patch) | |
| tree | b611921acfa6ecfe9853ccdf0b58cf3270345721 /src | |
| parent | Merge pull request #4809 from Morph1984/mjolnir-p3 (diff) | |
| parent | Added remaining params (diff) | |
| download | yuzu-940c3bf68deff4f45c2dc3c2549c00cff4e1b586.tar.gz yuzu-940c3bf68deff4f45c2dc3c2549c00cff4e1b586.tar.xz yuzu-940c3bf68deff4f45c2dc3c2549c00cff4e1b586.zip | |
Merge pull request #4390 from ogniK5377/get-applet-inf-stub
nifm: GetAppletInfo stub
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/service/nifm/nifm.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp index 2e9d95195..db7ec6d0e 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,16 @@ 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, 8}; | ||
| 132 | rb.Push(RESULT_SUCCESS); | ||
| 133 | rb.Push<u32>(0); | ||
| 134 | rb.Push<u32>(0); | ||
| 135 | rb.Push<u32>(0); | ||
| 136 | } | ||
| 137 | |||
| 128 | Kernel::EventPair event1, event2; | 138 | Kernel::EventPair event1, event2; |
| 129 | }; | 139 | }; |
| 130 | 140 | ||