diff options
| -rw-r--r-- | src/core/hle/service/am/am.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index d91237cba..4374487a3 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp | |||
| @@ -231,6 +231,7 @@ IDebugFunctions::IDebugFunctions(Core::System& system_) | |||
| 231 | {10, nullptr, "PerformSystemButtonPressing"}, | 231 | {10, nullptr, "PerformSystemButtonPressing"}, |
| 232 | {20, nullptr, "InvalidateTransitionLayer"}, | 232 | {20, nullptr, "InvalidateTransitionLayer"}, |
| 233 | {30, nullptr, "RequestLaunchApplicationWithUserAndArgumentForDebug"}, | 233 | {30, nullptr, "RequestLaunchApplicationWithUserAndArgumentForDebug"}, |
| 234 | {31, nullptr, "RequestLaunchApplicationByApplicationLaunchInfoForDebug"}, | ||
| 234 | {40, nullptr, "GetAppletResourceUsageInfo"}, | 235 | {40, nullptr, "GetAppletResourceUsageInfo"}, |
| 235 | {100, nullptr, "SetCpuBoostModeForApplet"}, | 236 | {100, nullptr, "SetCpuBoostModeForApplet"}, |
| 236 | {101, nullptr, "CancelCpuBoostModeForApplet"}, | 237 | {101, nullptr, "CancelCpuBoostModeForApplet"}, |
| @@ -242,6 +243,7 @@ IDebugFunctions::IDebugFunctions(Core::System& system_) | |||
| 242 | {130, nullptr, "FriendInvitationSetApplicationParameter"}, | 243 | {130, nullptr, "FriendInvitationSetApplicationParameter"}, |
| 243 | {131, nullptr, "FriendInvitationClearApplicationParameter"}, | 244 | {131, nullptr, "FriendInvitationClearApplicationParameter"}, |
| 244 | {132, nullptr, "FriendInvitationPushApplicationParameter"}, | 245 | {132, nullptr, "FriendInvitationPushApplicationParameter"}, |
| 246 | {900, nullptr, "GetGrcProcessLaunchedSystemEvent"}, | ||
| 245 | }; | 247 | }; |
| 246 | // clang-format on | 248 | // clang-format on |
| 247 | 249 | ||
| @@ -297,6 +299,7 @@ ISelfController::ISelfController(Core::System& system_, NVFlinger::NVFlinger& nv | |||
| 297 | {91, &ISelfController::GetAccumulatedSuspendedTickChangedEvent, "GetAccumulatedSuspendedTickChangedEvent"}, | 299 | {91, &ISelfController::GetAccumulatedSuspendedTickChangedEvent, "GetAccumulatedSuspendedTickChangedEvent"}, |
| 298 | {100, &ISelfController::SetAlbumImageTakenNotificationEnabled, "SetAlbumImageTakenNotificationEnabled"}, | 300 | {100, &ISelfController::SetAlbumImageTakenNotificationEnabled, "SetAlbumImageTakenNotificationEnabled"}, |
| 299 | {110, nullptr, "SetApplicationAlbumUserData"}, | 301 | {110, nullptr, "SetApplicationAlbumUserData"}, |
| 302 | {120, nullptr, "SaveCurrentScreenshot"}, | ||
| 300 | {1000, nullptr, "GetDebugStorageChannel"}, | 303 | {1000, nullptr, "GetDebugStorageChannel"}, |
| 301 | }; | 304 | }; |
| 302 | // clang-format on | 305 | // clang-format on |
| @@ -645,6 +648,7 @@ ICommonStateGetter::ICommonStateGetter(Core::System& system_, | |||
| 645 | {11, nullptr, "ReleaseSleepLock"}, | 648 | {11, nullptr, "ReleaseSleepLock"}, |
| 646 | {12, nullptr, "ReleaseSleepLockTransiently"}, | 649 | {12, nullptr, "ReleaseSleepLockTransiently"}, |
| 647 | {13, nullptr, "GetAcquiredSleepLockEvent"}, | 650 | {13, nullptr, "GetAcquiredSleepLockEvent"}, |
| 651 | {14, nullptr, "GetWakeupCount"}, | ||
| 648 | {20, nullptr, "PushToGeneralChannel"}, | 652 | {20, nullptr, "PushToGeneralChannel"}, |
| 649 | {30, nullptr, "GetHomeButtonReaderLockAccessor"}, | 653 | {30, nullptr, "GetHomeButtonReaderLockAccessor"}, |
| 650 | {31, nullptr, "GetReaderLockAccessorEx"}, | 654 | {31, nullptr, "GetReaderLockAccessorEx"}, |
| @@ -656,6 +660,7 @@ ICommonStateGetter::ICommonStateGetter(Core::System& system_, | |||
| 656 | {53, &ICommonStateGetter::BeginVrModeEx, "BeginVrModeEx"}, | 660 | {53, &ICommonStateGetter::BeginVrModeEx, "BeginVrModeEx"}, |
| 657 | {54, &ICommonStateGetter::EndVrModeEx, "EndVrModeEx"}, | 661 | {54, &ICommonStateGetter::EndVrModeEx, "EndVrModeEx"}, |
| 658 | {55, nullptr, "IsInControllerFirmwareUpdateSection"}, | 662 | {55, nullptr, "IsInControllerFirmwareUpdateSection"}, |
| 663 | {59, nullptr, "SetVrPositionForDebug"}, | ||
| 659 | {60, &ICommonStateGetter::GetDefaultDisplayResolution, "GetDefaultDisplayResolution"}, | 664 | {60, &ICommonStateGetter::GetDefaultDisplayResolution, "GetDefaultDisplayResolution"}, |
| 660 | {61, &ICommonStateGetter::GetDefaultDisplayResolutionChangeEvent, "GetDefaultDisplayResolutionChangeEvent"}, | 665 | {61, &ICommonStateGetter::GetDefaultDisplayResolutionChangeEvent, "GetDefaultDisplayResolutionChangeEvent"}, |
| 661 | {62, nullptr, "GetHdcpAuthenticationState"}, | 666 | {62, nullptr, "GetHdcpAuthenticationState"}, |
| @@ -664,14 +669,21 @@ ICommonStateGetter::ICommonStateGetter(Core::System& system_, | |||
| 664 | {65, nullptr, "GetApplicationIdByContentActionName"}, | 669 | {65, nullptr, "GetApplicationIdByContentActionName"}, |
| 665 | {66, &ICommonStateGetter::SetCpuBoostMode, "SetCpuBoostMode"}, | 670 | {66, &ICommonStateGetter::SetCpuBoostMode, "SetCpuBoostMode"}, |
| 666 | {67, nullptr, "CancelCpuBoostMode"}, | 671 | {67, nullptr, "CancelCpuBoostMode"}, |
| 672 | {68, nullptr, "GetBuiltInDisplayType"}, | ||
| 667 | {80, nullptr, "PerformSystemButtonPressingIfInFocus"}, | 673 | {80, nullptr, "PerformSystemButtonPressingIfInFocus"}, |
| 668 | {90, nullptr, "SetPerformanceConfigurationChangedNotification"}, | 674 | {90, nullptr, "SetPerformanceConfigurationChangedNotification"}, |
| 669 | {91, nullptr, "GetCurrentPerformanceConfiguration"}, | 675 | {91, nullptr, "GetCurrentPerformanceConfiguration"}, |
| 670 | {100, nullptr, "SetHandlingHomeButtonShortPressedEnabled"}, | 676 | {100, nullptr, "SetHandlingHomeButtonShortPressedEnabled"}, |
| 677 | {110, nullptr, "OpenMyGpuErrorHandler"}, | ||
| 671 | {200, nullptr, "GetOperationModeSystemInfo"}, | 678 | {200, nullptr, "GetOperationModeSystemInfo"}, |
| 672 | {300, nullptr, "GetSettingsPlatformRegion"}, | 679 | {300, nullptr, "GetSettingsPlatformRegion"}, |
| 673 | {400, nullptr, "ActivateMigrationService"}, | 680 | {400, nullptr, "ActivateMigrationService"}, |
| 674 | {401, nullptr, "DeactivateMigrationService"}, | 681 | {401, nullptr, "DeactivateMigrationService"}, |
| 682 | {500, nullptr, "DisableSleepTillShutdown"}, | ||
| 683 | {501, nullptr, "SuppressDisablingSleepTemporarily"}, | ||
| 684 | {502, nullptr, "IsSleepEnabled"}, | ||
| 685 | {503, nullptr, "IsDisablingSleepSuppressed"}, | ||
| 686 | {900, nullptr, "SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled"}, | ||
| 675 | }; | 687 | }; |
| 676 | // clang-format on | 688 | // clang-format on |
| 677 | 689 | ||
| @@ -1203,11 +1215,14 @@ IApplicationFunctions::IApplicationFunctions(Core::System& system_) | |||
| 1203 | {25, &IApplicationFunctions::ExtendSaveData, "ExtendSaveData"}, | 1215 | {25, &IApplicationFunctions::ExtendSaveData, "ExtendSaveData"}, |
| 1204 | {26, &IApplicationFunctions::GetSaveDataSize, "GetSaveDataSize"}, | 1216 | {26, &IApplicationFunctions::GetSaveDataSize, "GetSaveDataSize"}, |
| 1205 | {27, nullptr, "CreateCacheStorage"}, | 1217 | {27, nullptr, "CreateCacheStorage"}, |
| 1218 | {28, nullptr, "GetSaveDataSizeMax"}, | ||
| 1219 | {29, nullptr, "GetCacheStorageMax"}, | ||
| 1206 | {30, &IApplicationFunctions::BeginBlockingHomeButtonShortAndLongPressed, "BeginBlockingHomeButtonShortAndLongPressed"}, | 1220 | {30, &IApplicationFunctions::BeginBlockingHomeButtonShortAndLongPressed, "BeginBlockingHomeButtonShortAndLongPressed"}, |
| 1207 | {31, &IApplicationFunctions::EndBlockingHomeButtonShortAndLongPressed, "EndBlockingHomeButtonShortAndLongPressed"}, | 1221 | {31, &IApplicationFunctions::EndBlockingHomeButtonShortAndLongPressed, "EndBlockingHomeButtonShortAndLongPressed"}, |
| 1208 | {32, &IApplicationFunctions::BeginBlockingHomeButton, "BeginBlockingHomeButton"}, | 1222 | {32, &IApplicationFunctions::BeginBlockingHomeButton, "BeginBlockingHomeButton"}, |
| 1209 | {33, &IApplicationFunctions::EndBlockingHomeButton, "EndBlockingHomeButton"}, | 1223 | {33, &IApplicationFunctions::EndBlockingHomeButton, "EndBlockingHomeButton"}, |
| 1210 | {34, nullptr, "SelectApplicationLicense"}, | 1224 | {34, nullptr, "SelectApplicationLicense"}, |
| 1225 | {35, nullptr, "GetDeviceSaveDataSizeMax"}, | ||
| 1211 | {40, &IApplicationFunctions::NotifyRunning, "NotifyRunning"}, | 1226 | {40, &IApplicationFunctions::NotifyRunning, "NotifyRunning"}, |
| 1212 | {50, &IApplicationFunctions::GetPseudoDeviceId, "GetPseudoDeviceId"}, | 1227 | {50, &IApplicationFunctions::GetPseudoDeviceId, "GetPseudoDeviceId"}, |
| 1213 | {60, nullptr, "SetMediaPlaybackStateForApplication"}, | 1228 | {60, nullptr, "SetMediaPlaybackStateForApplication"}, |
| @@ -1231,6 +1246,7 @@ IApplicationFunctions::IApplicationFunctions(Core::System& system_) | |||
| 1231 | {123, &IApplicationFunctions::GetPreviousProgramIndex, "GetPreviousProgramIndex"}, | 1246 | {123, &IApplicationFunctions::GetPreviousProgramIndex, "GetPreviousProgramIndex"}, |
| 1232 | {124, nullptr, "EnableApplicationAllThreadDumpOnCrash"}, | 1247 | {124, nullptr, "EnableApplicationAllThreadDumpOnCrash"}, |
| 1233 | {130, &IApplicationFunctions::GetGpuErrorDetectedSystemEvent, "GetGpuErrorDetectedSystemEvent"}, | 1248 | {130, &IApplicationFunctions::GetGpuErrorDetectedSystemEvent, "GetGpuErrorDetectedSystemEvent"}, |
| 1249 | {131, nullptr, "SetDelayTimeToAbortOnGpuError"}, | ||
| 1234 | {140, &IApplicationFunctions::GetFriendInvitationStorageChannelEvent, "GetFriendInvitationStorageChannelEvent"}, | 1250 | {140, &IApplicationFunctions::GetFriendInvitationStorageChannelEvent, "GetFriendInvitationStorageChannelEvent"}, |
| 1235 | {141, &IApplicationFunctions::TryPopFromFriendInvitationStorageChannel, "TryPopFromFriendInvitationStorageChannel"}, | 1251 | {141, &IApplicationFunctions::TryPopFromFriendInvitationStorageChannel, "TryPopFromFriendInvitationStorageChannel"}, |
| 1236 | {150, nullptr, "GetNotificationStorageChannelEvent"}, | 1252 | {150, nullptr, "GetNotificationStorageChannelEvent"}, |
| @@ -1239,6 +1255,8 @@ IApplicationFunctions::IApplicationFunctions(Core::System& system_) | |||
| 1239 | {170, nullptr, "SetHdcpAuthenticationActivated"}, | 1255 | {170, nullptr, "SetHdcpAuthenticationActivated"}, |
| 1240 | {180, nullptr, "GetLaunchRequiredVersion"}, | 1256 | {180, nullptr, "GetLaunchRequiredVersion"}, |
| 1241 | {181, nullptr, "UpgradeLaunchRequiredVersion"}, | 1257 | {181, nullptr, "UpgradeLaunchRequiredVersion"}, |
| 1258 | {190, nullptr, "SendServerMaintenanceOverlayNotification"}, | ||
| 1259 | {200, nullptr, "GetLastApplicationExitReason"}, | ||
| 1242 | {500, nullptr, "StartContinuousRecordingFlushForDebug"}, | 1260 | {500, nullptr, "StartContinuousRecordingFlushForDebug"}, |
| 1243 | {1000, nullptr, "CreateMovieMaker"}, | 1261 | {1000, nullptr, "CreateMovieMaker"}, |
| 1244 | {1001, nullptr, "PrepareForJit"}, | 1262 | {1001, nullptr, "PrepareForJit"}, |
| @@ -1705,9 +1723,12 @@ IHomeMenuFunctions::IHomeMenuFunctions(Core::System& system_) | |||
| 1705 | {21, &IHomeMenuFunctions::GetPopFromGeneralChannelEvent, "GetPopFromGeneralChannelEvent"}, | 1723 | {21, &IHomeMenuFunctions::GetPopFromGeneralChannelEvent, "GetPopFromGeneralChannelEvent"}, |
| 1706 | {30, nullptr, "GetHomeButtonWriterLockAccessor"}, | 1724 | {30, nullptr, "GetHomeButtonWriterLockAccessor"}, |
| 1707 | {31, nullptr, "GetWriterLockAccessorEx"}, | 1725 | {31, nullptr, "GetWriterLockAccessorEx"}, |
| 1726 | {40, nullptr, "IsSleepEnabled"}, | ||
| 1727 | {41, nullptr, "IsRebootEnabled"}, | ||
| 1708 | {100, nullptr, "PopRequestLaunchApplicationForDebug"}, | 1728 | {100, nullptr, "PopRequestLaunchApplicationForDebug"}, |
| 1709 | {110, nullptr, "IsForceTerminateApplicationDisabledForDebug"}, | 1729 | {110, nullptr, "IsForceTerminateApplicationDisabledForDebug"}, |
| 1710 | {200, nullptr, "LaunchDevMenu"}, | 1730 | {200, nullptr, "LaunchDevMenu"}, |
| 1731 | {1000, nullptr, "SetLastApplicationExitReason"}, | ||
| 1711 | }; | 1732 | }; |
| 1712 | // clang-format on | 1733 | // clang-format on |
| 1713 | 1734 | ||
| @@ -1751,6 +1772,7 @@ IGlobalStateController::IGlobalStateController(Core::System& system_) | |||
| 1751 | {13, nullptr, "UpdateDefaultDisplayResolution"}, | 1772 | {13, nullptr, "UpdateDefaultDisplayResolution"}, |
| 1752 | {14, nullptr, "ShouldSleepOnBoot"}, | 1773 | {14, nullptr, "ShouldSleepOnBoot"}, |
| 1753 | {15, nullptr, "GetHdcpAuthenticationFailedEvent"}, | 1774 | {15, nullptr, "GetHdcpAuthenticationFailedEvent"}, |
| 1775 | {30, nullptr, "OpenCradleFirmwareUpdater"}, | ||
| 1754 | }; | 1776 | }; |
| 1755 | // clang-format on | 1777 | // clang-format on |
| 1756 | 1778 | ||