diff options
author | bunnei <bunneidev@gmail.com> | 2020-10-21 00:59:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 00:59:19 +0200 |
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 yuzu-940c3bf68deff4f45c2dc3c2549c00cff4e1b586.tar.gz yuzu-940c3bf68deff4f45c2dc3c2549c00cff4e1b586.tar.bz2 yuzu-940c3bf68deff4f45c2dc3c2549c00cff4e1b586.tar.lz yuzu-940c3bf68deff4f45c2dc3c2549c00cff4e1b586.tar.xz yuzu-940c3bf68deff4f45c2dc3c2549c00cff4e1b586.tar.zst yuzu-940c3bf68deff4f45c2dc3c2549c00cff4e1b586.zip |
Diffstat (limited to 'src')
-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: {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,16 @@ private: rb.Push(RESULT_SUCCESS); } + void GetAppletInfo(Kernel::HLERequestContext& ctx) { + LOG_WARNING(Service_NIFM, "(STUBBED) called"); + + IPC::ResponseBuilder rb{ctx, 8}; + rb.Push(RESULT_SUCCESS); + rb.Push<u32>(0); + rb.Push<u32>(0); + rb.Push<u32>(0); + } + Kernel::EventPair event1, event2; }; |