mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-22 20:39:20 +01:00
Stub SetRestartMessageEnabled in ISelfController
This is used by Super Mario Odyssey.
This commit is contained in:
parent
2b4adee213
commit
f71b54b901
@ -12,6 +12,7 @@ namespace skyline::service::am {
|
||||
{0xB, SFUNC(ISelfController::SetOperationModeChangedNotification)},
|
||||
{0xC, SFUNC(ISelfController::SetPerformanceModeChangedNotification)},
|
||||
{0xD, SFUNC(ISelfController::SetFocusHandlingMode)},
|
||||
{0xE, SFUNC(ISelfController::SetRestartMessageEnabled)},
|
||||
{0x10, SFUNC(ISelfController::SetOutOfFocusSuspendingEnabled)},
|
||||
{0x28, SFUNC(ISelfController::CreateManagedDisplayLayer)}
|
||||
}) {}
|
||||
@ -31,6 +32,8 @@ namespace skyline::service::am {
|
||||
|
||||
void ISelfController::SetFocusHandlingMode(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {}
|
||||
|
||||
void ISelfController::SetRestartMessageEnabled(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {}
|
||||
|
||||
void ISelfController::SetOutOfFocusSuspendingEnabled(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {}
|
||||
|
||||
void ISelfController::CreateManagedDisplayLayer(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||
|
@ -37,6 +37,11 @@ namespace skyline::service::am {
|
||||
*/
|
||||
void SetFocusHandlingMode(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
/**
|
||||
* @brief This function toggles whether a restart message should be sent (https://switchbrew.org/wiki/Applet_Manager_services#SetRestartMessageEnabled)
|
||||
*/
|
||||
void SetRestartMessageEnabled(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
/**
|
||||
* @brief This function takes a u8 bool flag and has no output (Stubbed) (https://switchbrew.org/wiki/Applet_Manager_services#SetOutOfFocusSuspendingEnabled)
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user