diff options
author | mailwl <mailwl@gmail.com> | 2018-03-16 09:08:22 +0100 |
---|---|---|
committer | mailwl <mailwl@gmail.com> | 2018-03-16 09:08:22 +0100 |
commit | 9289255314a0795654dc4c97b9e34e0a624bfb01 (patch) | |
tree | 1770730c7ec0644e39721e53bf96804de94330ee /src/core | |
parent | Service/NIFM: convert to module (diff) | |
download | yuzu-9289255314a0795654dc4c97b9e34e0a624bfb01.tar yuzu-9289255314a0795654dc4c97b9e34e0a624bfb01.tar.gz yuzu-9289255314a0795654dc4c97b9e34e0a624bfb01.tar.bz2 yuzu-9289255314a0795654dc4c97b9e34e0a624bfb01.tar.lz yuzu-9289255314a0795654dc4c97b9e34e0a624bfb01.tar.xz yuzu-9289255314a0795654dc4c97b9e34e0a624bfb01.tar.zst yuzu-9289255314a0795654dc4c97b9e34e0a624bfb01.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/nifm/nifm.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp index d4108eafd..876d0f614 100644 --- a/src/core/hle/service/nifm/nifm.cpp +++ b/src/core/hle/service/nifm/nifm.cpp @@ -32,7 +32,7 @@ public: {0, &IRequest::GetRequestState, "GetRequestState"}, {1, &IRequest::GetResult, "GetResult"}, {2, &IRequest::GetSystemEventReadableHandles, "GetSystemEventReadableHandles"}, - {3, nullptr, "Cancel"}, + {3, &IRequest::Cancel, "Cancel"}, {4, nullptr, "Submit"}, {5, nullptr, "SetRequirement"}, {6, nullptr, "SetRequirementPreset"}, @@ -80,6 +80,11 @@ private: rb.Push(RESULT_SUCCESS); rb.PushCopyObjects(event1, event2); } + void Cancel(Kernel::HLERequestContext& ctx) { + LOG_WARNING(Service_NIFM, "(STUBBED) called"); + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(RESULT_SUCCESS); + } Kernel::SharedPtr<Kernel::Event> event1, event2; }; |