diff options
| author | 2018-09-21 00:47:30 +1000 | |
|---|---|---|
| committer | 2018-09-21 00:47:30 +1000 | |
| commit | cfc9fe446077a0ac36e240b63fa21074ee8a3d0b (patch) | |
| tree | 6e53be22a8a2b566c7b98e982a4d55a1c265a29b /src | |
| parent | Merge pull request #1358 from DarkLordZach/temp-storage (diff) | |
| download | yuzu-cfc9fe446077a0ac36e240b63fa21074ee8a3d0b.tar.gz yuzu-cfc9fe446077a0ac36e240b63fa21074ee8a3d0b.tar.xz yuzu-cfc9fe446077a0ac36e240b63fa21074ee8a3d0b.zip | |
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: | |||
| 31 | {1, &IRequest::GetResult, "GetResult"}, | 31 | {1, &IRequest::GetResult, "GetResult"}, |
| 32 | {2, &IRequest::GetSystemEventReadableHandles, "GetSystemEventReadableHandles"}, | 32 | {2, &IRequest::GetSystemEventReadableHandles, "GetSystemEventReadableHandles"}, |
| 33 | {3, &IRequest::Cancel, "Cancel"}, | 33 | {3, &IRequest::Cancel, "Cancel"}, |
| 34 | {4, nullptr, "Submit"}, | 34 | {4, &IRequest::Submit, "Submit"}, |
| 35 | {5, nullptr, "SetRequirement"}, | 35 | {5, nullptr, "SetRequirement"}, |
| 36 | {6, nullptr, "SetRequirementPreset"}, | 36 | {6, nullptr, "SetRequirementPreset"}, |
| 37 | {8, nullptr, "SetPriority"}, | 37 | {8, nullptr, "SetPriority"}, |
| @@ -61,6 +61,13 @@ public: | |||
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | private: | 63 | private: |
| 64 | void Submit(Kernel::HLERequestContext& ctx) { | ||
| 65 | LOG_WARNING(Service_NIFM, "(STUBBED) called"); | ||
| 66 | IPC::ResponseBuilder rb{ctx, 3}; | ||
| 67 | rb.Push(RESULT_SUCCESS); | ||
| 68 | rb.Push<u32>(3); | ||
| 69 | } | ||
| 70 | |||
| 64 | void GetRequestState(Kernel::HLERequestContext& ctx) { | 71 | void GetRequestState(Kernel::HLERequestContext& ctx) { |
| 65 | LOG_WARNING(Service_NIFM, "(STUBBED) called"); | 72 | LOG_WARNING(Service_NIFM, "(STUBBED) called"); |
| 66 | IPC::ResponseBuilder rb{ctx, 3}; | 73 | IPC::ResponseBuilder rb{ctx, 3}; |