Added IRequest::Submit
This fixes updated versions of SMO. Currently unable to test as I don't have an updated version
This commit is contained in:
parent
8fe9572271
commit
cfc9fe4460
@ -31,7 +31,7 @@ public:
|
|||||||
{1, &IRequest::GetResult, "GetResult"},
|
{1, &IRequest::GetResult, "GetResult"},
|
||||||
{2, &IRequest::GetSystemEventReadableHandles, "GetSystemEventReadableHandles"},
|
{2, &IRequest::GetSystemEventReadableHandles, "GetSystemEventReadableHandles"},
|
||||||
{3, &IRequest::Cancel, "Cancel"},
|
{3, &IRequest::Cancel, "Cancel"},
|
||||||
{4, nullptr, "Submit"},
|
{4, &IRequest::Submit, "Submit"},
|
||||||
{5, nullptr, "SetRequirement"},
|
{5, nullptr, "SetRequirement"},
|
||||||
{6, nullptr, "SetRequirementPreset"},
|
{6, nullptr, "SetRequirementPreset"},
|
||||||
{8, nullptr, "SetPriority"},
|
{8, nullptr, "SetPriority"},
|
||||||
@ -61,6 +61,13 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
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) {
|
void GetRequestState(Kernel::HLERequestContext& ctx) {
|
||||||
LOG_WARNING(Service_NIFM, "(STUBBED) called");
|
LOG_WARNING(Service_NIFM, "(STUBBED) called");
|
||||||
IPC::ResponseBuilder rb{ctx, 3};
|
IPC::ResponseBuilder rb{ctx, 3};
|
||||||
|
Loading…
Reference in New Issue
Block a user