mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-28 08:15:29 +03:00
Stub some account functions
This commit is contained in:
parent
b209ae8e90
commit
413f162cf2
@ -90,8 +90,7 @@ namespace skyline::service::account {
|
||||
return {};
|
||||
}
|
||||
|
||||
Result IAccountServiceForApplication::IsUserAccountSwitchLocked(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||
response.Push<u32>(0); // We don't want to lock the user
|
||||
Result IAccountServiceForApplication::LoadOpenContext(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||
return {};
|
||||
}
|
||||
|
||||
@ -103,6 +102,15 @@ namespace skyline::service::account {
|
||||
}
|
||||
}
|
||||
|
||||
Result IAccountServiceForApplication::IsUserAccountSwitchLocked(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||
response.Push<u32>(0); // We don't want to lock the user
|
||||
return {};
|
||||
}
|
||||
|
||||
Result IAccountServiceForApplication::InitializeApplicationInfoV2(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||
return {};
|
||||
}
|
||||
|
||||
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
|
||||
return {};
|
||||
|
@ -66,15 +66,19 @@ namespace skyline {
|
||||
|
||||
Result StoreSaveDataThumbnail(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
Result LoadOpenContext(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
Result ListOpenContextStoredUsers(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
/**
|
||||
* @url https://switchbrew.org/wiki/Account_services#InitializeApplicationInfo
|
||||
*/
|
||||
Result InitializeApplicationInfo(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);
|
||||
|
||||
Result InitializeApplicationInfoV2(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
SERVICE_DECL(
|
||||
SFUNC(0x0, IAccountServiceForApplication, GetUserCount),
|
||||
SFUNC(0x1, IAccountServiceForApplication, GetUserExistence),
|
||||
@ -86,9 +90,11 @@ namespace skyline {
|
||||
SFUNC(0x64, IAccountServiceForApplication, InitializeApplicationInfoV0),
|
||||
SFUNC(0x65, IAccountServiceForApplication, GetBaasAccountManagerForApplication),
|
||||
SFUNC(0x6E, IAccountServiceForApplication, StoreSaveDataThumbnail),
|
||||
SFUNC(0x82, IAccountServiceForApplication, LoadOpenContext),
|
||||
SFUNC(0x83, IAccountServiceForApplication, ListOpenContextStoredUsers),
|
||||
SFUNC(0x8C, IAccountServiceForApplication, InitializeApplicationInfo),
|
||||
SFUNC(0x96, IAccountServiceForApplication, IsUserAccountSwitchLocked)
|
||||
SFUNC(0x96, IAccountServiceForApplication, IsUserAccountSwitchLocked),
|
||||
SFUNC(0xA0, IAccountServiceForApplication, InitializeApplicationInfoV2)
|
||||
)
|
||||
};
|
||||
}
|
||||
|
@ -10,4 +10,8 @@ namespace skyline::service::account {
|
||||
response.Push(false);
|
||||
return {};
|
||||
}
|
||||
|
||||
Result IManagerForApplication::StoreOpenContext(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
@ -19,8 +19,11 @@ namespace skyline::service::account {
|
||||
*/
|
||||
Result CheckAvailability(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
Result StoreOpenContext(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
SERVICE_DECL(
|
||||
SFUNC(0x0, IManagerForApplication, CheckAvailability)
|
||||
SFUNC(0x0, IManagerForApplication, CheckAvailability),
|
||||
SFUNC(0xA0, IManagerForApplication, StoreOpenContext)
|
||||
)
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user