diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-09-21 00:47:30 +1000 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-09-21 00:47:30 +1000 |
commit | cfc9fe446077a0ac36e240b63fa21074ee8a3d0b (patch) | |
tree | 6e53be22a8a2b566c7b98e982a4d55a1c265a29b /src | |
parent | 8fe95722712903dd78e1403f20195f0a74829f86 (diff) |
Added IRequest::Submit
This fixes updated versions of SMO. Currently unable to test as I don't have an updated version
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/service/nifm/nifm.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp index b6075f256..696649db6 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,13 @@ public: } private: + void Submit(Kernel::HLERequestContext& ctx) { + LOG_WARNING(Service_NIFM, "(STUBBED) called"); + IPC::ResponseBuilder rb{ctx, 3}; + rb.Push(RESULT_SUCCESS); + rb.Push<u32>(3); + } + void GetRequestState(Kernel::HLERequestContext& ctx) { LOG_WARNING(Service_NIFM, "(STUBBED) called"); IPC::ResponseBuilder rb{ctx, 3}; |