mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-22 16:25:40 +01:00
Merge pull request #1368 from ogniK5377/nifm-fix
Added IRequest::Submit
This commit is contained in:
commit
b0b57c21e6
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user