mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-29 15:15:30 +03:00
Stub ListOpenContextStoredUsers
This commit is contained in:
parent
e7bab27d85
commit
021f82ef08
@ -95,6 +95,14 @@ namespace skyline::service::account {
|
|||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Result IAccountServiceForApplication::ListOpenContextStoredUsers(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||||
|
try {
|
||||||
|
return WriteUserList(request.outputBuf.at(0), {constant::DefaultUserId});
|
||||||
|
} catch (const std::out_of_range &) {
|
||||||
|
return result::InvalidInputBuffer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Result IAccountServiceForApplication::IsUserRegistrationRequestPermitted(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
Result IAccountServiceForApplication::IsUserRegistrationRequestPermitted(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||||
response.Push<u8>(false); // Registration isn't permitted via the application account service
|
response.Push<u8>(false); // Registration isn't permitted via the application account service
|
||||||
return {};
|
return {};
|
||||||
|
@ -71,8 +71,9 @@ namespace skyline {
|
|||||||
*/
|
*/
|
||||||
Result InitializeApplicationInfo(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
Result InitializeApplicationInfo(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||||
|
|
||||||
Result IsUserAccountSwitchLocked(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
Result ListOpenContextStoredUsers(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||||
|
|
||||||
|
Result IsUserAccountSwitchLocked(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||||
|
|
||||||
SERVICE_DECL(
|
SERVICE_DECL(
|
||||||
SFUNC(0x0, IAccountServiceForApplication, GetUserCount),
|
SFUNC(0x0, IAccountServiceForApplication, GetUserCount),
|
||||||
@ -85,6 +86,7 @@ namespace skyline {
|
|||||||
SFUNC(0x64, IAccountServiceForApplication, InitializeApplicationInfoV0),
|
SFUNC(0x64, IAccountServiceForApplication, InitializeApplicationInfoV0),
|
||||||
SFUNC(0x65, IAccountServiceForApplication, GetBaasAccountManagerForApplication),
|
SFUNC(0x65, IAccountServiceForApplication, GetBaasAccountManagerForApplication),
|
||||||
SFUNC(0x6E, IAccountServiceForApplication, StoreSaveDataThumbnail),
|
SFUNC(0x6E, IAccountServiceForApplication, StoreSaveDataThumbnail),
|
||||||
|
SFUNC(0x83, IAccountServiceForApplication, ListOpenContextStoredUsers),
|
||||||
SFUNC(0x8C, IAccountServiceForApplication, InitializeApplicationInfo),
|
SFUNC(0x8C, IAccountServiceForApplication, InitializeApplicationInfo),
|
||||||
SFUNC(0x96, IAccountServiceForApplication, IsUserAccountSwitchLocked)
|
SFUNC(0x96, IAccountServiceForApplication, IsUserAccountSwitchLocked)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user