summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-21 05:30:11 +0200
committerGitHub <noreply@github.com>2018-09-21 05:30:11 +0200
commitb0b57c21e6d499decb6af84ee7a91d2e3d72c2ef (patch)
tree2c98dde16b6876b5c834b952cf823565e72137e7
parentMerge pull request #1352 from lioncash/sharing (diff)
parentFixed submit (diff)
downloadyuzu-b0b57c21e6d499decb6af84ee7a91d2e3d72c2ef.tar
yuzu-b0b57c21e6d499decb6af84ee7a91d2e3d72c2ef.tar.gz
yuzu-b0b57c21e6d499decb6af84ee7a91d2e3d72c2ef.tar.bz2
yuzu-b0b57c21e6d499decb6af84ee7a91d2e3d72c2ef.tar.lz
yuzu-b0b57c21e6d499decb6af84ee7a91d2e3d72c2ef.tar.xz
yuzu-b0b57c21e6d499decb6af84ee7a91d2e3d72c2ef.tar.zst
yuzu-b0b57c21e6d499decb6af84ee7a91d2e3d72c2ef.zip
-rw-r--r--src/core/hle/service/nifm/nifm.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp
index eda910bbe..10611ed6a 100644
--- a/src/core/hle/service/nifm/nifm.cpp
+++ b/src/core/hle/service/nifm/nifm.cpp
@@ -31,7 +31,7 @@ public:
{1, &IRequest::GetResult, "GetResult"},
{2, &IRequest::GetSystemEventReadableHandles, "GetSystemEventReadableHandles"},
{3, &IRequest::Cancel, "Cancel"},
- {4, nullptr, "Submit"},
+ {4, &IRequest::Submit, "Submit"},
{5, nullptr, "SetRequirement"},
{6, nullptr, "SetRequirementPreset"},
{8, nullptr, "SetPriority"},
@@ -61,6 +61,12 @@ public:
}
private:
+ void Submit(Kernel::HLERequestContext& ctx) {
+ LOG_WARNING(Service_NIFM, "(STUBBED) called");
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(RESULT_SUCCESS);
+ }
+
void GetRequestState(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_NIFM, "(STUBBED) called");
IPC::ResponseBuilder rb{ctx, 3};