forked from suyu/suyu
IUserLocalCommunicationService: add function Initialize2
This commit is contained in:
parent
6c0eb6026b
commit
5257a83ebe
1 changed files with 9 additions and 1 deletions
|
@ -129,12 +129,20 @@ public:
|
||||||
{304, nullptr, "Disconnect"},
|
{304, nullptr, "Disconnect"},
|
||||||
{400, nullptr, "Initialize"},
|
{400, nullptr, "Initialize"},
|
||||||
{401, nullptr, "Finalize"},
|
{401, nullptr, "Finalize"},
|
||||||
{402, nullptr, "Initialize2"},
|
{402, &IUserLocalCommunicationService::Initialize2, "Initialize2"}, // 7.0.0+
|
||||||
};
|
};
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
RegisterHandlers(functions);
|
RegisterHandlers(functions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Initialize2(Kernel::HLERequestContext& ctx) {
|
||||||
|
LOG_WARNING(Service_LDN, "(STUBBED) called");
|
||||||
|
// Result success seem make this services start network and continue.
|
||||||
|
// If we just pass result error then it will stop and maybe try again and again.
|
||||||
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
|
rb.Push(RESULT_UNKNOWN);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
class LDNS final : public ServiceFramework<LDNS> {
|
class LDNS final : public ServiceFramework<LDNS> {
|
||||||
|
|
Loading…
Reference in a new issue