mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-03 10:19:59 +00:00
Service/NIFM: stub cancel function
This commit is contained in:
parent
ec030a542f
commit
9289255314
1 changed files with 6 additions and 1 deletions
|
@ -32,7 +32,7 @@ public:
|
||||||
{0, &IRequest::GetRequestState, "GetRequestState"},
|
{0, &IRequest::GetRequestState, "GetRequestState"},
|
||||||
{1, &IRequest::GetResult, "GetResult"},
|
{1, &IRequest::GetResult, "GetResult"},
|
||||||
{2, &IRequest::GetSystemEventReadableHandles, "GetSystemEventReadableHandles"},
|
{2, &IRequest::GetSystemEventReadableHandles, "GetSystemEventReadableHandles"},
|
||||||
{3, nullptr, "Cancel"},
|
{3, &IRequest::Cancel, "Cancel"},
|
||||||
{4, nullptr, "Submit"},
|
{4, nullptr, "Submit"},
|
||||||
{5, nullptr, "SetRequirement"},
|
{5, nullptr, "SetRequirement"},
|
||||||
{6, nullptr, "SetRequirementPreset"},
|
{6, nullptr, "SetRequirementPreset"},
|
||||||
|
@ -80,6 +80,11 @@ private:
|
||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
rb.PushCopyObjects(event1, event2);
|
rb.PushCopyObjects(event1, event2);
|
||||||
}
|
}
|
||||||
|
void Cancel(Kernel::HLERequestContext& ctx) {
|
||||||
|
LOG_WARNING(Service_NIFM, "(STUBBED) called");
|
||||||
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
|
rb.Push(RESULT_SUCCESS);
|
||||||
|
}
|
||||||
|
|
||||||
Kernel::SharedPtr<Kernel::Event> event1, event2;
|
Kernel::SharedPtr<Kernel::Event> event1, event2;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue