VERY experimental Nintendo Switch 2 emulator
C++
service: Update function tables
Lioncash0ab5dd8c7f7a
diff --git a/src/core/hle/service/acc/acc_su.cpp b/src/core/hle/service/acc/acc_su.cppindex 0d16636572..b941c260b3 100644--- a/src/core/hle/service/acc/acc_su.cpp+++ b/src/core/hle/service/acc/acc_su.cpp@@ -28,6 +28,7 @@ ACC_SU::ACC_SU(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> p{103, nullptr, "GetBaasUserAvailabilityChangeNotifier"},{104, nullptr, "GetProfileUpdateNotifier"},{105, nullptr, "CheckNetworkServiceAvailabilityAsync"},+ {106, nullptr, "GetProfileSyncNotifier"},{110, nullptr, "StoreSaveDataThumbnail"},{111, nullptr, "ClearSaveDataThumbnail"},{112, nullptr, "LoadSaveDataThumbnail"},@@ -44,6 +45,8 @@ ACC_SU::ACC_SU(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> p{205, &ACC_SU::GetProfileEditor, "GetProfileEditor"},{206, nullptr, "CompleteUserRegistrationForcibly"},{210, nullptr, "CreateFloatingRegistrationRequest"},+ {211, nullptr, "CreateProcedureToRegisterUserWithNintendoAccount"},+ {212, nullptr, "ResumeProcedureToRegisterUserWithNintendoAccount"},{230, nullptr, "AuthenticateServiceAsync"},{250, nullptr, "GetBaasAccountAdministrator"},{290, nullptr, "ProxyProcedureForGuestLoginWithNintendoAccount"},diff --git a/src/core/hle/service/acc/acc_u1.cpp b/src/core/hle/service/acc/acc_u1.cppindex 6520b39684..858e91ddee 100644--- a/src/core/hle/service/acc/acc_u1.cpp+++ b/src/core/hle/service/acc/acc_u1.cpp@@ -28,6 +28,7 @@ ACC_U1::ACC_U1(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> p{103, nullptr, "GetProfileUpdateNotifier"},{104, nullptr, "CheckNetworkServiceAvailabilityAsync"},{105, nullptr, "GetBaasUserAvailabilityChangeNotifier"},+ {106, nullptr, "GetProfileSyncNotifier"},{110, nullptr, "StoreSaveDataThumbnail"},{111, nullptr, "ClearSaveDataThumbnail"},{112, nullptr, "LoadSaveDataThumbnail"},diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cppindex ba54b30409..bdd25d42ce 100644--- a/src/core/hle/service/am/am.cpp+++ b/src/core/hle/service/am/am.cpp@@ -229,7 +229,15 @@ IDebugFunctions::IDebugFunctions() : ServiceFramework{"IDebugFunctions"} {{20, nullptr, "InvalidateTransitionLayer"},{30, nullptr, "RequestLaunchApplicationWithUserAndArgumentForDebug"},{40, nullptr, "GetAppletResourceUsageInfo"},- {41, nullptr, "SetCpuBoostModeForApplet"},+ {100, nullptr, "SetCpuBoostModeForApplet"},+ {110, nullptr, "PushToAppletBoundChannelForDebug"},+ {111, nullptr, "TryPopFromAppletBoundChannelForDebug"},+ {120, nullptr, "AlarmSettingNotificationEnableAppEventReserve"},+ {121, nullptr, "AlarmSettingNotificationDisableAppEventReserve"},+ {122, nullptr, "AlarmSettingNotificationPushAppEventNotify"},+ {130, nullptr, "FriendInvitationSetApplicationParameter"},+ {131, nullptr, "FriendInvitationClearApplicationParameter"},+ {132, nullptr, "FriendInvitationPushApplicationParameter"},};// clang-format on@@ -278,10 +286,12 @@ ISelfController::ISelfController(Core::System& system,{69, &ISelfController::IsAutoSleepDisabled, "IsAutoSleepDisabled"},{70, nullptr, "ReportMultimediaError"},{71, nullptr, "GetCurrentIlluminanceEx"},+ {72, nullptr, "SetInputDetectionPolicy"},{80, nullptr, "SetWirelessPriorityMode"},{90, &ISelfController::GetAccumulatedSuspendedTickValue, "GetAccumulatedSuspendedTickValue"},{91, &ISelfController::GetAccumulatedSuspendedTickChangedEvent, "GetAccumulatedSuspendedTickChangedEvent"},{100, nullptr, "SetAlbumImageTakenNotificationEnabled"},+ {110, nullptr, "SetApplicationAlbumUserData"},{1000, nullptr, "GetDebugStorageChannel"},};// clang-format on@@ -613,6 +623,7 @@ ICommonStateGetter::ICommonStateGetter(Core::System& system,{90, nullptr, "SetPerformanceConfigurationChangedNotification"},{91, nullptr, "GetCurrentPerformanceConfiguration"},{200, nullptr, "GetOperationModeSystemInfo"},+ {300, nullptr, "GetSettingsPlatformRegion"},};// clang-format on@@ -1081,6 +1092,12 @@ IApplicationFunctions::IApplicationFunctions(Core::System& system_){121, nullptr, "ClearUserChannel"},{122, nullptr, "UnpopToUserChannel"},{130, &IApplicationFunctions::GetGpuErrorDetectedSystemEvent, "GetGpuErrorDetectedSystemEvent"},+ {140, nullptr, "GetFriendInvitationStorageChannelEvent"},+ {141, nullptr, "TryPopFromFriendInvitationStorageChannel"},+ {150, nullptr, "GetNotificationStorageChannelEvent"},+ {151, nullptr, "TryPopFromNotificationStorageChannel"},+ {160, nullptr, "GetHealthWarningDisappearedSystemEvent"},+ {170, nullptr, "SetHdcpAuthenticationActivated"},{500, nullptr, "StartContinuousRecordingFlushForDebug"},{1000, nullptr, "CreateMovieMaker"},{1001, nullptr, "PrepareForJit"},@@ -1409,6 +1426,8 @@ IHomeMenuFunctions::IHomeMenuFunctions() : ServiceFramework("IHomeMenuFunctions"{30, nullptr, "GetHomeButtonWriterLockAccessor"},{31, nullptr, "GetWriterLockAccessorEx"},{100, nullptr, "PopRequestLaunchApplicationForDebug"},+ {110, nullptr, "IsForceTerminateApplicationDisabledForDebug"},+ {200, nullptr, "LaunchDevMenu"},};// clang-format ondiff --git a/src/core/hle/service/am/idle.cpp b/src/core/hle/service/am/idle.cppindex f814fe2c09..d256d57c88 100644--- a/src/core/hle/service/am/idle.cpp+++ b/src/core/hle/service/am/idle.cpp@@ -10,7 +10,7 @@ IdleSys::IdleSys() : ServiceFramework{"idle:sys"} {// clang-format offstatic const FunctionInfo functions[] = {{0, nullptr, "GetAutoPowerDownEvent"},- {1, nullptr, "Unknown1"},+ {1, nullptr, "IsAutoPowerDownRequested"},{2, nullptr, "Unknown2"},{3, nullptr, "SetHandlingContext"},{4, nullptr, "LoadAndApplySettings"},diff --git a/src/core/hle/service/am/omm.cpp b/src/core/hle/service/am/omm.cppindex 6ab3fb9068..37389ccda8 100644--- a/src/core/hle/service/am/omm.cpp+++ b/src/core/hle/service/am/omm.cpp@@ -35,6 +35,8 @@ OMM::OMM() : ServiceFramework{"omm"} {{23, nullptr, "GetHdcpState"},{24, nullptr, "ShowCardUpdateProcessing"},{25, nullptr, "SetApplicationCecSettingsAndNotifyChanged"},+ {26, nullptr, "GetOperationModeSystemInfo"},+ {27, nullptr, "GetAppletFullAwakingSystemEvent"},};// clang-format ondiff --git a/src/core/hle/service/aoc/aoc_u.cpp b/src/core/hle/service/aoc/aoc_u.cppindex f36ccbc491..fc279e989e 100644--- a/src/core/hle/service/aoc/aoc_u.cpp+++ b/src/core/hle/service/aoc/aoc_u.cpp@@ -61,6 +61,7 @@ AOC_U::AOC_U(Core::System& system){7, &AOC_U::PrepareAddOnContent, "PrepareAddOnContent"},{8, &AOC_U::GetAddOnContentListChangedEvent, "GetAddOnContentListChangedEvent"},{100, nullptr, "CreateEcPurchasedEventManager"},+ {101, nullptr, "CreatePermanentEcPurchasedEventManager"},};// clang-format ondiff --git a/src/core/hle/service/audio/audctl.cpp b/src/core/hle/service/audio/audctl.cppindex 6a01d4d29b..9e08e5346d 100644--- a/src/core/hle/service/audio/audctl.cpp+++ b/src/core/hle/service/audio/audctl.cpp@@ -38,6 +38,7 @@ AudCtl::AudCtl() : ServiceFramework{"audctl"} {{24, nullptr, "GetSystemOutputMasterVolume"},{25, nullptr, "GetAudioVolumeDataForPlayReport"},{26, nullptr, "UpdateHeadphoneSettings"},+ {27, nullptr, "SetVolumeMappingTableForDev"},};// clang-format ondiff --git a/src/core/hle/service/bcat/module.cpp b/src/core/hle/service/bcat/module.cppindex 6d9d1527da..1c7e52fabf 100644--- a/src/core/hle/service/bcat/module.cpp+++ b/src/core/hle/service/bcat/module.cpp@@ -137,14 +137,20 @@ public:{10200, nullptr, "CancelSyncDeliveryCacheRequest"},{20100, nullptr, "RequestSyncDeliveryCacheWithApplicationId"},{20101, nullptr, "RequestSyncDeliveryCacheWithApplicationIdAndDirectoryName"},+ {20300, nullptr, "GetDeliveryCacheStorageUpdateNotifier"},+ {20301, nullptr, "RequestSuspendDeliveryTask"},+ {20400, nullptr, "RegisterSystemApplicationDeliveryTask"},+ {20401, nullptr, "UnregisterSystemApplicationDeliveryTask"},{30100, &IBcatService::SetPassphrase, "SetPassphrase"},{30200, nullptr, "RegisterBackgroundDeliveryTask"},{30201, nullptr, "UnregisterBackgroundDeliveryTask"},{30202, nullptr, "BlockDeliveryTask"},{30203, nullptr, "UnblockDeliveryTask"},+ {30300, nullptr, "RegisterSystemApplicationDeliveryTasks"},{90100, nullptr, "EnumerateBackgroundDeliveryTask"},{90200, nullptr, "GetDeliveryList"},{90201, &IBcatService::ClearDeliveryCacheStorage, "ClearDeliveryCacheStorage"},+ {90202, nullptr, "ClearDeliveryTaskSubscriptionStatus"},{90300, nullptr, "GetPushNotificationLog"},};// clang-format ondiff --git a/src/core/hle/service/btdrv/btdrv.cpp b/src/core/hle/service/btdrv/btdrv.cppindex 4574d95725..40a06c9fd7 100644--- a/src/core/hle/service/btdrv/btdrv.cpp+++ b/src/core/hle/service/btdrv/btdrv.cpp@@ -155,6 +155,7 @@ public:{98, nullptr, "SetLeScanParameter"},{256, nullptr, "GetIsManufacturingMode"},{257, nullptr, "EmulateBluetoothCrash"},+ {258, nullptr, "GetBleChannelMap"},};// clang-format ondiff --git a/src/core/hle/service/erpt/erpt.cpp b/src/core/hle/service/erpt/erpt.cppindex d9b32954ee..4ec8c30938 100644--- a/src/core/hle/service/erpt/erpt.cpp+++ b/src/core/hle/service/erpt/erpt.cpp@@ -24,6 +24,8 @@ public:{6, nullptr, "SubmitMultipleCategoryContext"},{7, nullptr, "UpdateApplicationLaunchTime"},{8, nullptr, "ClearApplicationLaunchTime"},+ {9, nullptr, "SubmitAttachment"},+ {10, nullptr, "CreateReportWithAttachments"},};// clang-format on@@ -38,6 +40,7 @@ public:static const FunctionInfo functions[] = {{0, nullptr, "OpenReport"},{1, nullptr, "OpenManager"},+ {2, nullptr, "OpenAttachment"},};// clang-format ondiff --git a/src/core/hle/service/es/es.cpp b/src/core/hle/service/es/es.cppindex f77ddd739e..df00ae6250 100644--- a/src/core/hle/service/es/es.cpp+++ b/src/core/hle/service/es/es.cpp@@ -52,6 +52,8 @@ public:{34, nullptr, "GetEncryptedTicketSize"},{35, nullptr, "GetEncryptedTicketData"},{36, nullptr, "DeleteAllInactiveELicenseRequiredPersonalizedTicket"},+ {37, nullptr, "OwnTicket2"},+ {38, nullptr, "OwnTicket3"},{503, nullptr, "GetTitleKey"},};// clang-format ondiff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cppindex cbd5466c12..3663376a1a 100644--- a/src/core/hle/service/filesystem/fsp_srv.cpp+++ b/src/core/hle/service/filesystem/fsp_srv.cpp@@ -680,6 +680,7 @@ FSP_SRV::FSP_SRV(FileSystemController& fsc, const Core::Reporter& reporter){33, nullptr, "DeleteCacheStorage"},{34, nullptr, "GetCacheStorageSize"},{35, nullptr, "CreateSaveDataFileSystemByHashSalt"},+ {36, nullptr, "OpenHostFileSystemWithOption"},{51, &FSP_SRV::OpenSaveDataFileSystem, "OpenSaveDataFileSystem"},{52, nullptr, "OpenSaveDataFileSystemBySystemSaveDataId"},{53, &FSP_SRV::OpenReadOnlySaveDataFileSystem, "OpenReadOnlySaveDataFileSystem"},@@ -694,11 +695,14 @@ FSP_SRV::FSP_SRV(FileSystemController& fsc, const Core::Reporter& reporter){66, nullptr, "WriteSaveDataFileSystemExtraData2"},{67, nullptr, "FindSaveDataWithFilter"},{68, nullptr, "OpenSaveDataInfoReaderBySaveDataFilter"},+ {69, nullptr, "ReadSaveDataFileSystemExtraDataBySaveDataAttribute"},+ {70, nullptr, "WriteSaveDataFileSystemExtraDataBySaveDataAttribute"},{80, nullptr, "OpenSaveDataMetaFile"},{81, nullptr, "OpenSaveDataTransferManager"},{82, nullptr, "OpenSaveDataTransferManagerVersion2"},{83, nullptr, "OpenSaveDataTransferProhibiterForCloudBackUp"},{84, nullptr, "ListApplicationAccessibleSaveDataOwnerId"},+ {85, nullptr, "OpenSaveDataTransferManagerForSaveDataRepair"},{100, nullptr, "OpenImageDirectoryFileSystem"},{110, nullptr, "OpenContentStorageFileSystem"},{120, nullptr, "OpenCloudBackupWorkStorageFileSystem"},@@ -756,6 +760,8 @@ FSP_SRV::FSP_SRV(FileSystemController& fsc, const Core::Reporter& reporter){1009, nullptr, "GetAndClearMemoryReportInfo"},{1010, nullptr, "SetDataStorageRedirectTarget"},{1011, &FSP_SRV::GetAccessLogVersionInfo, "GetAccessLogVersionInfo"},+ {1012, nullptr, "GetFsStackUsage"},+ {1013, nullptr, "UnsetSaveDataRootPath"},{1100, nullptr, "OverrideSaveDataTransferTokenSignVerificationKey"},{1110, nullptr, "CorruptSaveDataFileSystemBySaveDataSpaceId2"},{1200, nullptr, "OpenMultiCommitManager"},diff --git a/src/core/hle/service/friend/friend.cpp b/src/core/hle/service/friend/friend.cppindex 1a0214f083..219176c31a 100644--- a/src/core/hle/service/friend/friend.cpp+++ b/src/core/hle/service/friend/friend.cpp@@ -60,6 +60,9 @@ public:{20801, nullptr, "SyncUserSetting"},{20900, nullptr, "RequestListSummaryOverlayNotification"},{21000, nullptr, "GetExternalApplicationCatalog"},+ {22000, nullptr, "GetReceivedFriendInvitationList"},+ {22001, nullptr, "GetReceivedFriendInvitationDetailedInfo"},+ {22010, nullptr, "GetReceivedFriendInvitationCountCache"},{30100, nullptr, "DropFriendNewlyFlags"},{30101, nullptr, "DeleteFriend"},{30110, nullptr, "DropFriendNewlyFlag"},@@ -91,6 +94,8 @@ public:{30812, nullptr, "ChangePlayLogPermission"},{30820, nullptr, "IssueFriendCode"},{30830, nullptr, "ClearPlayLog"},+ {30900, nullptr, "SendFriendInvitation"},+ {30910, nullptr, "ReadFriendInvitation"},{49900, nullptr, "DeleteNetworkServiceAccountCache"},};// clang-format ondiff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cppindex ecc130f6ca..8ef029e0f1 100644--- a/src/core/hle/service/hid/hid.cpp+++ b/src/core/hle/service/hid/hid.cpp@@ -215,6 +215,8 @@ Hid::Hid(Core::System& system) : ServiceFramework("hid"), system(system) {{132, nullptr, "EnableUnintendedHomeButtonInputProtection"},{133, nullptr, "SetNpadJoyAssignmentModeSingleWithDestination"},{134, nullptr, "SetNpadAnalogStickUseCenterClamp"},+ {135, nullptr, "SetNpadCaptureButtonAssignment"},+ {136, nullptr, "ClearNpadCaptureButtonAssignment"},{200, &Hid::GetVibrationDeviceInfo, "GetVibrationDeviceInfo"},{201, &Hid::SendVibrationValue, "SendVibrationValue"},{202, &Hid::GetActualVibrationValue, "GetActualVibrationValue"},@@ -245,6 +247,8 @@ Hid::Hid(Core::System& system) : ServiceFramework("hid"), system(system) {{404, nullptr, "HasLeftRightBattery"},{405, nullptr, "GetNpadInterfaceType"},{406, nullptr, "GetNpadLeftRightInterfaceType"},+ {407, nullptr, "GetNpadOfHighestBatteryLevelForJoyLeft"},+ {408, nullptr, "GetNpadOfHighestBatteryLevelForJoyRight"},{500, nullptr, "GetPalmaConnectionHandle"},{501, nullptr, "InitializePalma"},{502, nullptr, "AcquirePalmaOperationCompleteEvent"},@@ -272,8 +276,13 @@ Hid::Hid(Core::System& system) : ServiceFramework("hid"), system(system) {{524, nullptr, "PairPalma"},{525, &Hid::SetPalmaBoostMode, "SetPalmaBoostMode"},{526, nullptr, "CancelWritePalmaWaveEntry"},+ {527, nullptr, "EnablePalmaBoostMode"},+ {528, nullptr, "GetPalmaBluetoothAddress"},+ {529, nullptr, "SetDisallowedPalmaConnection"},{1000, nullptr, "SetNpadCommunicationMode"},{1001, nullptr, "GetNpadCommunicationMode"},+ {1002, nullptr, "SetTouchScreenConfiguration"},+ {1003, nullptr, "IsFirmwareUpdateNeededForNotification"},};// clang-format on@@ -969,6 +978,9 @@ public:{310, nullptr, "GetMaskedSupportedNpadStyleSet"},{311, nullptr, "SetNpadPlayerLedBlinkingDevice"},{312, nullptr, "SetSupportedNpadStyleSetAll"},+ {313, nullptr, "GetNpadCaptureButtonAssignment"},+ {314, nullptr, "GetAppletFooterUiType"},+ {315, nullptr, "GetAppletDetailedUiType"},{321, nullptr, "GetUniquePadsFromNpad"},{322, nullptr, "GetIrSensorState"},{323, nullptr, "GetXcdHandleForNpadWithIrSensor"},@@ -984,6 +996,8 @@ public:{513, nullptr, "EndPermitVibrationSession"},{520, nullptr, "EnableHandheldHids"},{521, nullptr, "DisableHandheldHids"},+ {522, nullptr, "SetJoyConRailEnabled"},+ {523, nullptr, "IsJoyConRailEnabled"},{540, nullptr, "AcquirePlayReportControllerUsageUpdateEvent"},{541, nullptr, "GetPlayReportControllerUsages"},{542, nullptr, "AcquirePlayReportRegisteredDeviceUpdateEvent"},@@ -1010,6 +1024,7 @@ public:{809, nullptr, "GetUniquePadSerialNumber"},{810, nullptr, "GetUniquePadControllerNumber"},{811, nullptr, "GetSixAxisSensorUserCalibrationStage"},+ {812, nullptr, "GetConsoleUniqueSixAxisSensorHandle"},{821, nullptr, "StartAnalogStickManualCalibration"},{822, nullptr, "RetryCurrentAnalogStickManualCalibrationStage"},{823, nullptr, "CancelAnalogStickManualCalibration"},@@ -1020,6 +1035,8 @@ public:{828, nullptr, "IsAnalogStickInReleasePosition"},{829, nullptr, "IsAnalogStickInCircumference"},{830, nullptr, "SetNotificationLedPattern"},+ {831, nullptr, "SetNotificationLedPatternWithTimeout"},+ {832, nullptr, "PrepareHidsForNotificationWake"},{850, nullptr, "IsUsbFullKeyControllerEnabled"},{851, nullptr, "EnableUsbFullKeyController"},{852, nullptr, "IsUsbConnected"},@@ -1049,6 +1066,13 @@ public:{1132, nullptr, "CheckUsbFirmwareUpdateRequired"},{1133, nullptr, "StartUsbFirmwareUpdate"},{1134, nullptr, "GetUsbFirmwareUpdateState"},+ {1150, nullptr, "SetTouchScreenMagnification"},+ {1151, nullptr, "GetTouchScreenFirmwareVersion"},+ {1152, nullptr, "SetTouchScreenDefaultConfiguration"},+ {1153, nullptr, "GetTouchScreenDefaultConfiguration"},+ {1154, nullptr, "IsFirmwareAvailableForNotification"},+ {1155, nullptr, "SetForceHandheldStyleVibration"},+ {1156, nullptr, "SendConnectionTriggerWithoutTimeoutEvent"},};// clang-format ondiff --git a/src/core/hle/service/mii/mii.cpp b/src/core/hle/service/mii/mii.cppindex 0b3923ad93..bd05117c14 100644--- a/src/core/hle/service/mii/mii.cpp+++ b/src/core/hle/service/mii/mii.cpp@@ -50,6 +50,8 @@ public:{21, &IDatabaseService::GetIndex, "GetIndex"},{22, &IDatabaseService::SetInterfaceVersion, "SetInterfaceVersion"},{23, nullptr, "Convert"},+ {24, nullptr, "ConvertCoreDataToCharInfo"},+ {25, nullptr, "ConvertCharInfoToCoreData"},};// clang-format ondiff --git a/src/core/hle/service/ncm/ncm.cpp b/src/core/hle/service/ncm/ncm.cppindex b405a4b663..89e283ca53 100644--- a/src/core/hle/service/ncm/ncm.cpp+++ b/src/core/hle/service/ncm/ncm.cpp@@ -61,7 +61,8 @@ public:{5, nullptr, "RegisterHtmlDocumentPath"},{6, nullptr, "UnregisterHtmlDocumentPath"},{7, nullptr, "RedirectHtmlDocumentPath"},- {8, nullptr, ""},+ {8, nullptr, "Refresh"},+ {9, nullptr, "RefreshExcluding"},};// clang-format on@@ -77,6 +78,8 @@ public:{0, nullptr, "ResolveAddOnContentPath"},{1, nullptr, "RegisterAddOnContentStorage"},{2, nullptr, "UnregisterAllAddOnContentPath"},+ {3, nullptr, "RefreshApplicationAddOnContent"},+ {4, nullptr, "UnregisterApplicationAddOnContent"},};// clang-format on@@ -118,6 +121,7 @@ public:{10, nullptr, "InactivateContentStorage"},{11, nullptr, "ActivateContentMetaDatabase"},{12, nullptr, "InactivateContentMetaDatabase"},+ {13, nullptr, "InvalidateRightsIdCache"},};// clang-format ondiff --git a/src/core/hle/service/nfc/nfc.cpp b/src/core/hle/service/nfc/nfc.cppindex ca88bf97fb..b7b34ce7e8 100644--- a/src/core/hle/service/nfc/nfc.cpp+++ b/src/core/hle/service/nfc/nfc.cpp@@ -215,6 +215,7 @@ public:{411, nullptr, "AttachActivateEvent"},{412, nullptr, "AttachDeactivateEvent"},{500, nullptr, "SetNfcEnabled"},+ {510, nullptr, "OutputTestWave"},{1000, nullptr, "ReadMifare"},{1001, nullptr, "WriteMifare"},{1300, nullptr, "SendCommandByPassThrough"},diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cppindex 01d557c7ae..2e53b3221d 100644--- a/src/core/hle/service/nifm/nifm.cpp+++ b/src/core/hle/service/nifm/nifm.cpp@@ -208,6 +208,7 @@ private:IGeneralService::IGeneralService(Core::System& system): ServiceFramework("IGeneralService"), system(system) {+ // clang-format offstatic const FunctionInfo functions[] = {{1, &IGeneralService::GetClientId, "GetClientId"},{2, &IGeneralService::CreateScanRequest, "CreateScanRequest"},@@ -246,7 +247,14 @@ IGeneralService::IGeneralService(Core::System& system){36, nullptr, "GetCurrentAccessPoint"},{37, nullptr, "Shutdown"},{38, nullptr, "GetAllowedChannels"},+ {39, nullptr, "NotifyApplicationSuspended"},+ {40, nullptr, "SetAcceptableNetworkTypeFlag"},+ {41, nullptr, "GetAcceptableNetworkTypeFlag"},+ {42, nullptr, "NotifyConnectionStateChanged"},+ {43, nullptr, "SetWowlDelayedWakeTime"},};+ // clang-format on+RegisterHandlers(functions);}diff --git a/src/core/hle/service/nim/nim.cpp b/src/core/hle/service/nim/nim.cppindex 7d6cf2070a..e85f123e22 100644--- a/src/core/hle/service/nim/nim.cpp+++ b/src/core/hle/service/nim/nim.cpp@@ -116,6 +116,8 @@ public:{500, nullptr, "RequestSyncTicket"},{501, nullptr, "RequestDownloadTicket"},{502, nullptr, "RequestDownloadTicketForPrepurchasedContents"},+ {503, nullptr, "RequestSyncTicket"},+ {504, nullptr, "RequestDownloadTicketForPrepurchasedContents2"},};// clang-format ondiff --git a/src/core/hle/service/npns/npns.cpp b/src/core/hle/service/npns/npns.cppindex 8751522cae..aa171473be 100644--- a/src/core/hle/service/npns/npns.cpp+++ b/src/core/hle/service/npns/npns.cpp@@ -44,6 +44,10 @@ public:{113, nullptr, "DestroyJid"},{114, nullptr, "AttachJid"},{115, nullptr, "DetachJid"},+ {120, nullptr, "CreateNotificationReceiver"},+ {151, nullptr, "GetStateWithHandover"},+ {152, nullptr, "GetStateChangeEventWithHandover"},+ {153, nullptr, "GetDropEventWithHandover"},{201, nullptr, "RequestChangeStateForceTimed"},{202, nullptr, "RequestChangeStateForceAsync"},};@@ -74,6 +78,9 @@ public:{104, nullptr, "GetStatistics"},{111, nullptr, "GetJid"},{120, nullptr, "CreateNotificationReceiver"},+ {151, nullptr, "GetStateWithHandover"},+ {152, nullptr, "GetStateChangeEventWithHandover"},+ {153, nullptr, "GetDropEventWithHandover"},};// clang-format ondiff --git a/src/core/hle/service/ns/ns.cpp b/src/core/hle/service/ns/ns.cppindex 15c156ce18..a3c11ac549 100644--- a/src/core/hle/service/ns/ns.cpp+++ b/src/core/hle/service/ns/ns.cpp@@ -106,6 +106,7 @@ IApplicationManagerInterface::IApplicationManagerInterface(){96, nullptr, "AcquireApplicationLaunchInfo"},{97, nullptr, "GetMainApplicationProgramIndex2"},{98, nullptr, "EnableApplicationAllThreadDumpOnCrash"},+ {99, nullptr, "LaunchDevMenu"},{100, nullptr, "ResetToFactorySettings"},{101, nullptr, "ResetToFactorySettingsWithoutUserSaveData"},{102, nullptr, "ResetToFactorySettingsForRefurbishment"},@@ -130,6 +131,8 @@ IApplicationManagerInterface::IApplicationManagerInterface(){404, nullptr, "InvalidateApplicationControlCache"},{405, nullptr, "ListApplicationControlCacheEntryInfo"},{406, nullptr, "GetApplicationControlProperty"},+ {407, nullptr, "ListApplicationTitle"},+ {408, nullptr, "ListApplicationIcon"},{502, nullptr, "RequestCheckGameCardRegistration"},{503, nullptr, "RequestGameCardRegistrationGoldPoint"},{504, nullptr, "RequestRegisterGameCard"},@@ -138,6 +141,7 @@ IApplicationManagerInterface::IApplicationManagerInterface(){507, nullptr, "EnsureGameCardAccess"},{508, nullptr, "GetLastGameCardMountFailureResult"},{509, nullptr, "ListApplicationIdOnGameCard"},+ {510, nullptr, "GetGameCardPlatformRegion"},{600, nullptr, "CountApplicationContentMeta"},{601, nullptr, "ListApplicationContentMetaStatus"},{602, nullptr, "ListAvailableAddOnContent"},@@ -168,6 +172,9 @@ IApplicationManagerInterface::IApplicationManagerInterface(){910, nullptr, "HasApplicationRecord"},{911, nullptr, "SetPreInstalledApplication"},{912, nullptr, "ClearPreInstalledApplicationFlag"},+ {913, nullptr, "ListAllApplicationRecord"},+ {914, nullptr, "HideApplicationRecord"},+ {915, nullptr, "ShowApplicationRecord"},{1000, nullptr, "RequestVerifyApplicationDeprecated"},{1001, nullptr, "CorruptApplicationForDebug"},{1002, nullptr, "RequestVerifyAddOnContentsRights"},@@ -190,12 +197,14 @@ IApplicationManagerInterface::IApplicationManagerInterface(){1502, nullptr, "GetLastSdCardFormatUnexpectedResult"},{1504, nullptr, "InsertSdCard"},{1505, nullptr, "RemoveSdCard"},+ {1506, nullptr, "GetSdCardStartupStatus"},{1600, nullptr, "GetSystemSeedForPseudoDeviceId"},{1601, nullptr, "ResetSystemSeedForPseudoDeviceId"},{1700, nullptr, "ListApplicationDownloadingContentMeta"},{1701, nullptr, "GetApplicationView"},{1702, nullptr, "GetApplicationDownloadTaskStatus"},{1703, nullptr, "GetApplicationViewDownloadErrorContext"},+ {1704, nullptr, "GetApplicationViewWithPromotionInfo"},{1800, nullptr, "IsNotificationSetupCompleted"},{1801, nullptr, "GetLastNotificationInfoCount"},{1802, nullptr, "ListLastNotificationInfo"},@@ -223,6 +232,7 @@ IApplicationManagerInterface::IApplicationManagerInterface(){2017, nullptr, "CreateDownloadTask"},{2018, nullptr, "GetApplicationDeliveryInfoHash"},{2050, nullptr, "GetApplicationRightsOnClient"},+ {2051, nullptr, "InvalidateRightsIdCache"},{2100, nullptr, "GetApplicationTerminateResult"},{2101, nullptr, "GetRawApplicationTerminateResult"},{2150, nullptr, "CreateRightsEnvironment"},@@ -230,6 +240,8 @@ IApplicationManagerInterface::IApplicationManagerInterface(){2152, nullptr, "ActivateRightsEnvironment"},{2153, nullptr, "DeactivateRightsEnvironment"},{2154, nullptr, "ForceActivateRightsContextForExit"},+ {2155, nullptr, "UpdateRightsEnvironmentStatus"},+ {2156, nullptr, "CreateRightsEnvironmentForPreomia"},{2160, nullptr, "AddTargetApplicationToRightsEnvironment"},{2161, nullptr, "SetUsersToRightsEnvironment"},{2170, nullptr, "GetRightsEnvironmentStatus"},@@ -243,6 +255,20 @@ IApplicationManagerInterface::IApplicationManagerInterface(){2201, nullptr, "GetInstalledApplicationCopyIdentifier"},{2250, nullptr, "RequestReportActiveELicence"},{2300, nullptr, "ListEventLog"},+ {2350, nullptr, "PerformAutoUpdateByApplicationId"},+ {2351, nullptr, "RequestNoDownloadRightsErrorResolution"},+ {2352, nullptr, "RequestResolveNoDownloadRightsError"},+ {2400, nullptr, "GetPromotionInfo"},+ {2401, nullptr, "CountPromotionInfo"},+ {2402, nullptr, "ListPromotionInfo"},+ {2403, nullptr, "ImportPromotionJsonForDebug"},+ {2404, nullptr, "ClearPromotionInfoForDebug"},+ {2500, nullptr, "ConfirmAvailableTime"},+ {2510, nullptr, "CreateApplicationResource"},+ {2511, nullptr, "GetApplicationResource"},+ {2513, nullptr, "LaunchPreomia"},+ {2514, nullptr, "ClearTaskOfAsyncTaskManager"},+ {2800, nullptr, "GetApplicationIdOfPreomia"},};// clang-format on@@ -463,6 +489,7 @@ IECommerceInterface::IECommerceInterface() : ServiceFramework{"IECommerceInterfa{3, nullptr, "RequestSyncRights"},{4, nullptr, "RequestUnlinkDevice"},{5, nullptr, "RequestRevokeAllELicense"},+ {6, nullptr, "RequestSyncRightsBasedOnAssignedELicenses"},};// clang-format ondiff --git a/src/core/hle/service/ns/pl_u.cpp b/src/core/hle/service/ns/pl_u.cppindex 23477315f8..581ccdccd5 100644--- a/src/core/hle/service/ns/pl_u.cpp+++ b/src/core/hle/service/ns/pl_u.cpp@@ -152,7 +152,7 @@ struct PL_U::Impl {PL_U::PL_U(Core::System& system): ServiceFramework("pl:u"), impl{std::make_unique<Impl>()}, system(system) {-+ // clang-format offstatic const FunctionInfo functions[] = {{0, &PL_U::RequestLoad, "RequestLoad"},{1, &PL_U::GetLoadState, "GetLoadState"},@@ -160,7 +160,13 @@ PL_U::PL_U(Core::System& system){3, &PL_U::GetSharedMemoryAddressOffset, "GetSharedMemoryAddressOffset"},{4, &PL_U::GetSharedMemoryNativeHandle, "GetSharedMemoryNativeHandle"},{5, &PL_U::GetSharedFontInOrderOfPriority, "GetSharedFontInOrderOfPriority"},+ {6, nullptr, "GetSharedFontInOrderOfPriorityForSystem"},+ {100, nullptr, "RequestApplicationFunctionAuthorization"},+ {101, nullptr, "RequestApplicationFunctionAuthorizationForSystem"},+ {1000, nullptr, "LoadNgWordDataForPlatformRegionChina"},+ {1001, nullptr, "GetNgWordDataSizeForPlatformRegionChina"},};+ // clang-format onRegisterHandlers(functions);auto& fsc = system.GetFileSystemController();diff --git a/src/core/hle/service/pm/pm.cpp b/src/core/hle/service/pm/pm.cppindex fe6b5f798f..6fe888e255 100644--- a/src/core/hle/service/pm/pm.cpp+++ b/src/core/hle/service/pm/pm.cpp@@ -172,7 +172,7 @@ public:{6, &Shell::GetApplicationPid, "GetApplicationPid"},{7, nullptr, "BoostSystemMemoryResourceLimit"},{8, nullptr, "EnableAdditionalSystemThreads"},- {9, nullptr, "GetUnimplementedEventHandle"},+ {9, nullptr, "GetBootFinishedEventHandle"},};// clang-format ondiff --git a/src/core/hle/service/prepo/prepo.cpp b/src/core/hle/service/prepo/prepo.cppindex 18d895263e..5eb26caf8b 100644--- a/src/core/hle/service/prepo/prepo.cpp+++ b/src/core/hle/service/prepo/prepo.cpp@@ -25,6 +25,7 @@ public:{10103, &PlayReport::SaveReportWithUser<Core::Reporter::PlayReportType::New>, "SaveReportWithUser"},{10200, nullptr, "RequestImmediateTransmission"},{10300, nullptr, "GetTransmissionStatus"},+ {10400, nullptr, "GetSystemSessionId"},{20100, &PlayReport::SaveSystemReport, "SaveSystemReport"},{20101, &PlayReport::SaveSystemReportWithUser, "SaveSystemReportWithUser"},{20200, nullptr, "SetOperationMode"},diff --git a/src/core/hle/service/set/set.cpp b/src/core/hle/service/set/set.cppindex b54214421c..5bcc0b5883 100644--- a/src/core/hle/service/set/set.cpp+++ b/src/core/hle/service/set/set.cpp@@ -124,6 +124,7 @@ SET::SET() : ServiceFramework("set") {{7, nullptr, "GetKeyCodeMap"},{8, &SET::GetQuestFlag, "GetQuestFlag"},{9, nullptr, "GetKeyCodeMap2"},+ {10, nullptr, "GetFirmwareVersionForDebug"},};// clang-format ondiff --git a/src/core/hle/service/set/set_cal.cpp b/src/core/hle/service/set/set_cal.cppindex 5981c575c8..1398a4a48d 100644--- a/src/core/hle/service/set/set_cal.cpp+++ b/src/core/hle/service/set/set_cal.cpp@@ -7,6 +7,7 @@namespace Service::Set {SET_CAL::SET_CAL() : ServiceFramework("set:cal") {+ // clang-format offstatic const FunctionInfo functions[] = {{0, nullptr, "GetBluetoothBdAddress"},{1, nullptr, "GetConfigurationId1"},@@ -40,8 +41,18 @@ SET_CAL::SET_CAL() : ServiceFramework("set:cal") {{30, nullptr, "GetAmiiboEcqvBlsCertificate"},{31, nullptr, "GetAmiiboEcqvBlsRootCertificate"},{32, nullptr, "GetUsbTypeCPowerSourceCircuitVersion"},+ {33, nullptr, "GetAnalogStickModuleTypeL"},+ {34, nullptr, "GetAnalogStickModelParameterL"},+ {35, nullptr, "GetAnalogStickFactoryCalibrationL"},+ {36, nullptr, "GetAnalogStickModuleTypeR"},+ {37, nullptr, "GetAnalogStickModelParameterR"},+ {38, nullptr, "GetAnalogStickFactoryCalibrationR"},+ {39, nullptr, "GetConsoleSixAxisSensorModuleType"},+ {40, nullptr, "GetConsoleSixAxisSensorHorizontalOffset"},{41, nullptr, "GetBatteryVersion"},};+ // clang-format on+RegisterHandlers(functions);}diff --git a/src/core/hle/service/set/set_fd.cpp b/src/core/hle/service/set/set_fd.cppindex cac6af86dc..565882a312 100644--- a/src/core/hle/service/set/set_fd.cpp+++ b/src/core/hle/service/set/set_fd.cpp@@ -7,6 +7,7 @@namespace Service::Set {SET_FD::SET_FD() : ServiceFramework("set:fd") {+ // clang-format offstatic const FunctionInfo functions[] = {{2, nullptr, "SetSettingsItemValue"},{3, nullptr, "ResetSettingsItemValue"},@@ -16,7 +17,10 @@ SET_FD::SET_FD() : ServiceFramework("set:fd") {{20, nullptr, "SetWebInspectorFlag"},{21, nullptr, "SetAllowedSslHosts"},{22, nullptr, "SetHostFsMountPoint"},+ {23, nullptr, "SetMemoryUsageRateFlag"},};+ // clang-format on+RegisterHandlers(functions);}diff --git a/src/core/hle/service/set/set_sys.cpp b/src/core/hle/service/set/set_sys.cppindex 98d0cfdfd5..b7c9ea74b1 100644--- a/src/core/hle/service/set/set_sys.cpp+++ b/src/core/hle/service/set/set_sys.cpp@@ -273,10 +273,21 @@ SET_SYS::SET_SYS() : ServiceFramework("set:sys") {{171, nullptr, "SetChineseTraditionalInputMethod"},{172, nullptr, "GetPtmCycleCountReliability"},{173, nullptr, "SetPtmCycleCountReliability"},+ {174, nullptr, "GetHomeMenuScheme"},{175, nullptr, "GetThemeSettings"},{176, nullptr, "SetThemeSettings"},{177, nullptr, "GetThemeKey"},{178, nullptr, "SetThemeKey"},+ {179, nullptr, "GetZoomFlag"},+ {180, nullptr, "SetZoomFlag"},+ {181, nullptr, "GetT"},+ {182, nullptr, "SetT"},+ {183, nullptr, "GetPlatformRegion"},+ {184, nullptr, "SetPlatformRegion"},+ {185, nullptr, "GetHomeMenuSchemeModel"},+ {186, nullptr, "GetMemoryUsageRateFlag"},+ {187, nullptr, "GetTouchScreenMode"},+ {188, nullptr, "SetTouchScreenMode"},};// clang-format ondiff --git a/src/core/hle/service/sockets/nsd.cpp b/src/core/hle/service/sockets/nsd.cppindex e6d73065e4..dc70fd6fe9 100644--- a/src/core/hle/service/sockets/nsd.cpp+++ b/src/core/hle/service/sockets/nsd.cpp@@ -7,6 +7,7 @@namespace Service::Sockets {NSD::NSD(const char* name) : ServiceFramework(name) {+ // clang-format offstatic const FunctionInfo functions[] = {{10, nullptr, "GetSettingName"},{11, nullptr, "GetEnvironmentIdentifier"},@@ -22,10 +23,14 @@ NSD::NSD(const char* name) : ServiceFramework(name) {{42, nullptr, "GetNasApiFqdn"},{43, nullptr, "GetNasApiFqdnEx"},{50, nullptr, "GetCurrentSetting"},+ {51, nullptr, "WriteTestParameter"},+ {52, nullptr, "ReadTestParameter"},{60, nullptr, "ReadSaveDataFromFsForTest"},{61, nullptr, "WriteSaveDataToFsForTest"},{62, nullptr, "DeleteSaveDataOfFsForTest"},};+ // clang-format on+RegisterHandlers(functions);}diff --git a/src/core/hle/service/ssl/ssl.cpp b/src/core/hle/service/ssl/ssl.cppindex 65040c0778..1ba8c19a01 100644--- a/src/core/hle/service/ssl/ssl.cpp+++ b/src/core/hle/service/ssl/ssl.cpp@@ -13,6 +13,7 @@ namespace Service::SSL {class ISslConnection final : public ServiceFramework<ISslConnection> {public:ISslConnection() : ServiceFramework("ISslConnection") {+ // clang-format offstatic const FunctionInfo functions[] = {{0, nullptr, "SetSocketDescriptor"},{1, nullptr, "SetHostName"},@@ -40,7 +41,11 @@ public:{23, nullptr, "GetOption"},{24, nullptr, "GetVerifyCertErrors"},{25, nullptr, "GetCipherInfo"},+ {26, nullptr, "SetNextAlpnProto"},+ {27, nullptr, "GetNextAlpnProto"},};+ // clang-format on+RegisterHandlers(functions);}};diff --git a/src/core/hle/service/time/interface.cpp b/src/core/hle/service/time/interface.cppindex 9565e7de56..bc74f1e1d4 100644--- a/src/core/hle/service/time/interface.cpp+++ b/src/core/hle/service/time/interface.cpp@@ -21,6 +21,7 @@ Time::Time(std::shared_ptr<Module> time, std::shared_ptr<SharedMemory> shared_me{30, nullptr, "GetStandardNetworkClockOperationEventReadableHandle"},{31, nullptr, "GetEphemeralNetworkClockOperationEventReadableHandle"},{50, nullptr, "SetStandardSteadyClockInternalOffset"},+ {51, nullptr, "GetStandardSteadyClockRtcValue"},{100, &Time::IsStandardUserSystemClockAutomaticCorrectionEnabled, "IsStandardUserSystemClockAutomaticCorrectionEnabled"},{101, &Time::SetStandardUserSystemClockAutomaticCorrectionEnabled, "SetStandardUserSystemClockAutomaticCorrectionEnabled"},{102, nullptr, "GetStandardUserSystemClockInitialYear"},diff --git a/src/core/hle/service/time/time.cpp b/src/core/hle/service/time/time.cppindex 1b9ab8401d..6b9f57e8f5 100644--- a/src/core/hle/service/time/time.cpp+++ b/src/core/hle/service/time/time.cpp@@ -74,15 +74,17 @@ public:ISystemClock(std::shared_ptr<Service::Time::SharedMemory> shared_memory,ClockContextType clock_type): ServiceFramework("ISystemClock"), shared_memory(shared_memory), clock_type(clock_type) {+ // clang-format offstatic const FunctionInfo functions[] = {{0, &ISystemClock::GetCurrentTime, "GetCurrentTime"},{1, nullptr, "SetCurrentTime"},{2, &ISystemClock::GetSystemClockContext, "GetSystemClockContext"},{3, nullptr, "SetSystemClockContext"},-+ {4, nullptr, "GetOperationEventReadableHandle"},};- RegisterHandlers(functions);+ // clang-format on+ RegisterHandlers(functions);UpdateSharedMemoryContext(system_clock_context);}@@ -162,6 +164,7 @@ private:class ITimeZoneService final : public ServiceFramework<ITimeZoneService> {public:ITimeZoneService() : ServiceFramework("ITimeZoneService") {+ // clang-format offstatic const FunctionInfo functions[] = {{0, &ITimeZoneService::GetDeviceLocationName, "GetDeviceLocationName"},{1, nullptr, "SetDeviceLocationName"},@@ -169,11 +172,17 @@ public:{3, nullptr, "LoadLocationNameList"},{4, &ITimeZoneService::LoadTimeZoneRule, "LoadTimeZoneRule"},{5, nullptr, "GetTimeZoneRuleVersion"},+ {6, nullptr, "GetDeviceLocationNameAndUpdatedTime"},+ {7, nullptr, "SetDeviceLocationNameWithTimeZoneRule"},+ {8, nullptr, "ParseTimeZoneBinary"},+ {20, nullptr, "GetDeviceLocationNameOperationEventReadableHandle"},{100, &ITimeZoneService::ToCalendarTime, "ToCalendarTime"},{101, &ITimeZoneService::ToCalendarTimeWithMyRule, "ToCalendarTimeWithMyRule"},{201, &ITimeZoneService::ToPosixTime, "ToPosixTime"},{202, &ITimeZoneService::ToPosixTimeWithMyRule, "ToPosixTimeWithMyRule"},};+ // clang-format on+RegisterHandlers(functions);}diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cppindex 611cecc20d..d5f66dca6f 100644--- a/src/core/hle/service/vi/vi.cpp+++ b/src/core/hle/service/vi/vi.cpp@@ -731,6 +731,7 @@ class IManagerDisplayService final : public ServiceFramework<IManagerDisplayServpublic:explicit IManagerDisplayService(std::shared_ptr<NVFlinger::NVFlinger> nv_flinger): ServiceFramework("IManagerDisplayService"), nv_flinger(std::move(nv_flinger)) {+ // clang-format offstatic const FunctionInfo functions[] = {{200, nullptr, "AllocateProcessHeapBlock"},{201, nullptr, "FreeProcessHeapBlock"},@@ -766,8 +767,11 @@ public:{6008, nullptr, "StartLayerPresentationFenceWait"},{6009, nullptr, "StopLayerPresentationFenceWait"},{6010, nullptr, "GetLayerPresentationAllFencesExpiredEvent"},+ {6011, nullptr, "EnableLayerAutoClearTransitionBuffer"},+ {6012, nullptr, "DisableLayerAutoClearTransitionBuffer"},{7000, nullptr, "SetContentVisibility"},{8000, nullptr, "SetConductorLayer"},+ {8001, nullptr, "SetTimestampTracking"},{8100, nullptr, "SetIndirectProducerFlipOffset"},{8200, nullptr, "CreateSharedBufferStaticStorage"},{8201, nullptr, "CreateSharedBufferTransferMemory"},@@ -800,6 +804,8 @@ public:{8297, nullptr, "GetSharedFrameBufferContentParameter"},{8298, nullptr, "ExpandStartupLogoOnSharedFrameBuffer"},};+ // clang-format on+RegisterHandlers(functions);}