mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-24 17:30:56 +01:00
friend: Stub DeclareCloseOnlinePlaySession.
- Used by Splatoon 2.
This commit is contained in:
parent
261a4f0311
commit
249341d08f
1 changed files with 10 additions and 1 deletions
|
@ -24,7 +24,8 @@ public:
|
||||||
{10400, nullptr, "GetBlockedUserListIds"},
|
{10400, nullptr, "GetBlockedUserListIds"},
|
||||||
{10500, nullptr, "GetProfileList"},
|
{10500, nullptr, "GetProfileList"},
|
||||||
{10600, nullptr, "DeclareOpenOnlinePlaySession"},
|
{10600, nullptr, "DeclareOpenOnlinePlaySession"},
|
||||||
{10601, nullptr, "DeclareCloseOnlinePlaySession"},
|
{10601, &IFriendService::DeclareCloseOnlinePlaySession,
|
||||||
|
"DeclareCloseOnlinePlaySession"},
|
||||||
{10610, nullptr, "UpdateUserPresence"},
|
{10610, nullptr, "UpdateUserPresence"},
|
||||||
{10700, nullptr, "GetPlayHistoryRegistrationKey"},
|
{10700, nullptr, "GetPlayHistoryRegistrationKey"},
|
||||||
{10701, nullptr, "GetPlayHistoryRegistrationKeyWithNetworkServiceAccountId"},
|
{10701, nullptr, "GetPlayHistoryRegistrationKeyWithNetworkServiceAccountId"},
|
||||||
|
@ -90,6 +91,14 @@ public:
|
||||||
|
|
||||||
RegisterHandlers(functions);
|
RegisterHandlers(functions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
void DeclareCloseOnlinePlaySession(Kernel::HLERequestContext& ctx) {
|
||||||
|
// Stub used by Splatoon 2
|
||||||
|
LOG_WARNING(Service_ACC, "(STUBBED) called");
|
||||||
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
|
rb.Push(RESULT_SUCCESS);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
void Module::Interface::CreateFriendService(Kernel::HLERequestContext& ctx) {
|
void Module::Interface::CreateFriendService(Kernel::HLERequestContext& ctx) {
|
||||||
|
|
Loading…
Reference in a new issue