mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-27 00:34:20 +01:00
Stub am::SetTerminateResult
This commit is contained in:
parent
bc016aff47
commit
45830633eb
@ -57,6 +57,12 @@ namespace skyline::service::am {
|
||||
return {};
|
||||
}
|
||||
|
||||
Result IApplicationFunctions::SetTerminateResult(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||
auto result{request.Pop<Result>()};
|
||||
Logger::Info("App set termination result: {}", result.raw);
|
||||
return {};
|
||||
}
|
||||
|
||||
Result IApplicationFunctions::GetDesiredLanguage(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||
auto desiredLanguage{language::GetApplicationLanguage(*state.settings->systemLanguage)};
|
||||
|
||||
|
@ -37,6 +37,12 @@ namespace skyline::service::am {
|
||||
*/
|
||||
Result EnsureSaveData(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
/**
|
||||
* @brief Sets a termination result for the application
|
||||
* @url https://switchbrew.org/wiki/Applet_Manager_services#SetTerminateResult
|
||||
*/
|
||||
Result SetTerminateResult(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
/**
|
||||
* @brief Returns the desired language for the application
|
||||
* @url https://switchbrew.org/wiki/Applet_Manager_services#GetDesiredLanguage
|
||||
@ -105,6 +111,7 @@ namespace skyline::service::am {
|
||||
SFUNC(0x1, IApplicationFunctions, PopLaunchParameter),
|
||||
SFUNC(0x14, IApplicationFunctions, EnsureSaveData),
|
||||
SFUNC(0x15, IApplicationFunctions, GetDesiredLanguage),
|
||||
SFUNC(0x16, IApplicationFunctions, SetTerminateResult),
|
||||
SFUNC(0x17, IApplicationFunctions, GetDisplayVersion),
|
||||
SFUNC(0x28, IApplicationFunctions, NotifyRunning),
|
||||
SFUNC(0x32, IApplicationFunctions, GetPseudoDeviceId),
|
||||
|
Loading…
Reference in New Issue
Block a user