summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-20 23:30:11 -0400
committerGitHub <noreply@github.com>2018-09-20 23:30:11 -0400
commitb0b57c21e6d499decb6af84ee7a91d2e3d72c2ef (patch)
tree2c98dde16b6876b5c834b952cf823565e72137e7 /src
parenta0db7e2cf990bddcb889709447bf065ff5c9d4a4 (diff)
parent3f49725a515add64ef1e2f904de56508e13dd259 (diff)
Merge pull request #1368 from ogniK5377/nifm-fix
Added IRequest::Submit
Diffstat (limited to 'src')
-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};