summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2019-04-10 14:48:37 -0400
committerGravatar Lioncash2019-04-11 02:47:00 -0400
commitca96dc46767afcc6f6d9eedf68938c0a948cfecf (patch)
tree280b50ba4626e7e437ae1f560cf2b4effb3650c9 /src
parentMerge pull request #2354 from lioncash/header (diff)
downloadyuzu-ca96dc46767afcc6f6d9eedf68938c0a948cfecf.tar.gz
yuzu-ca96dc46767afcc6f6d9eedf68938c0a948cfecf.tar.xz
yuzu-ca96dc46767afcc6f6d9eedf68938c0a948cfecf.zip
service: Update service function tables
Updates function tables based off information from SwitchBrew.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/acc/acc.cpp4
-rw-r--r--src/core/hle/service/acc/acc_su.cpp6
-rw-r--r--src/core/hle/service/acc/acc_u0.cpp8
-rw-r--r--src/core/hle/service/acc/acc_u1.cpp6
-rw-r--r--src/core/hle/service/am/am.cpp16
-rw-r--r--src/core/hle/service/am/applet_ae.cpp8
-rw-r--r--src/core/hle/service/aoc/aoc_u.cpp4
-rw-r--r--src/core/hle/service/apm/interface.cpp2
-rw-r--r--src/core/hle/service/audio/audin_u.cpp1
-rw-r--r--src/core/hle/service/audio/audout_u.cpp5
-rw-r--r--src/core/hle/service/btdrv/btdrv.cpp3
-rw-r--r--src/core/hle/service/caps/caps.cpp89
-rw-r--r--src/core/hle/service/filesystem/fsp_srv.cpp7
-rw-r--r--src/core/hle/service/friend/friend.cpp5
-rw-r--r--src/core/hle/service/hid/hid.cpp15
-rw-r--r--src/core/hle/service/ldn/ldn.cpp54
-rw-r--r--src/core/hle/service/ldr/ldr.cpp1
-rw-r--r--src/core/hle/service/nifm/nifm.cpp4
-rw-r--r--src/core/hle/service/npns/npns.cpp3
-rw-r--r--src/core/hle/service/pctl/module.cpp7
-rw-r--r--src/core/hle/service/pm/pm.cpp21
-rw-r--r--src/core/hle/service/set/set.cpp4
-rw-r--r--src/core/hle/service/set/set_cal.cpp2
-rw-r--r--src/core/hle/service/set/set_sys.cpp27
-rw-r--r--src/core/hle/service/sockets/bsd.cpp5
-rw-r--r--src/core/hle/service/ssl/ssl.cpp2
-rw-r--r--src/core/hle/service/time/interface.cpp10
27 files changed, 262 insertions, 57 deletions
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp
index 1f8ed265e..ba7d7acbd 100644
--- a/src/core/hle/service/acc/acc.cpp
+++ b/src/core/hle/service/acc/acc.cpp
@@ -137,6 +137,7 @@ private:
137class IManagerForApplication final : public ServiceFramework<IManagerForApplication> { 137class IManagerForApplication final : public ServiceFramework<IManagerForApplication> {
138public: 138public:
139 IManagerForApplication() : ServiceFramework("IManagerForApplication") { 139 IManagerForApplication() : ServiceFramework("IManagerForApplication") {
140 // clang-format off
140 static const FunctionInfo functions[] = { 141 static const FunctionInfo functions[] = {
141 {0, &IManagerForApplication::CheckAvailability, "CheckAvailability"}, 142 {0, &IManagerForApplication::CheckAvailability, "CheckAvailability"},
142 {1, &IManagerForApplication::GetAccountId, "GetAccountId"}, 143 {1, &IManagerForApplication::GetAccountId, "GetAccountId"},
@@ -145,7 +146,10 @@ public:
145 {130, nullptr, "GetNintendoAccountUserResourceCacheForApplication"}, 146 {130, nullptr, "GetNintendoAccountUserResourceCacheForApplication"},
146 {150, nullptr, "CreateAuthorizationRequest"}, 147 {150, nullptr, "CreateAuthorizationRequest"},
147 {160, nullptr, "StoreOpenContext"}, 148 {160, nullptr, "StoreOpenContext"},
149 {170, nullptr, "LoadNetworkServiceLicenseKindAsync"},
148 }; 150 };
151 // clang-format on
152
149 RegisterHandlers(functions); 153 RegisterHandlers(functions);
150 } 154 }
151 155
diff --git a/src/core/hle/service/acc/acc_su.cpp b/src/core/hle/service/acc/acc_su.cpp
index 5e2030355..d66233cad 100644
--- a/src/core/hle/service/acc/acc_su.cpp
+++ b/src/core/hle/service/acc/acc_su.cpp
@@ -8,6 +8,7 @@ namespace Service::Account {
8 8
9ACC_SU::ACC_SU(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> profile_manager) 9ACC_SU::ACC_SU(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> profile_manager)
10 : Module::Interface(std::move(module), std::move(profile_manager), "acc:su") { 10 : Module::Interface(std::move(module), std::move(profile_manager), "acc:su") {
11 // clang-format off
11 static const FunctionInfo functions[] = { 12 static const FunctionInfo functions[] = {
12 {0, &ACC_SU::GetUserCount, "GetUserCount"}, 13 {0, &ACC_SU::GetUserCount, "GetUserCount"},
13 {1, &ACC_SU::GetUserExistence, "GetUserExistence"}, 14 {1, &ACC_SU::GetUserExistence, "GetUserExistence"},
@@ -19,6 +20,7 @@ ACC_SU::ACC_SU(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> p
19 {50, &ACC_SU::IsUserRegistrationRequestPermitted, "IsUserRegistrationRequestPermitted"}, 20 {50, &ACC_SU::IsUserRegistrationRequestPermitted, "IsUserRegistrationRequestPermitted"},
20 {51, &ACC_SU::TrySelectUserWithoutInteraction, "TrySelectUserWithoutInteraction"}, 21 {51, &ACC_SU::TrySelectUserWithoutInteraction, "TrySelectUserWithoutInteraction"},
21 {60, nullptr, "ListOpenContextStoredUsers"}, 22 {60, nullptr, "ListOpenContextStoredUsers"},
23 {99, nullptr, "DebugActivateOpenContextRetention"},
22 {100, nullptr, "GetUserRegistrationNotifier"}, 24 {100, nullptr, "GetUserRegistrationNotifier"},
23 {101, nullptr, "GetUserStateChangeNotifier"}, 25 {101, nullptr, "GetUserStateChangeNotifier"},
24 {102, nullptr, "GetBaasAccountManagerForSystemService"}, 26 {102, nullptr, "GetBaasAccountManagerForSystemService"},
@@ -29,6 +31,8 @@ ACC_SU::ACC_SU(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> p
29 {111, nullptr, "ClearSaveDataThumbnail"}, 31 {111, nullptr, "ClearSaveDataThumbnail"},
30 {112, nullptr, "LoadSaveDataThumbnail"}, 32 {112, nullptr, "LoadSaveDataThumbnail"},
31 {113, nullptr, "GetSaveDataThumbnailExistence"}, 33 {113, nullptr, "GetSaveDataThumbnailExistence"},
34 {130, nullptr, "ActivateOpenContextRetention"},
35 {140, nullptr, "ListQualifiedUsers"},
32 {190, nullptr, "GetUserLastOpenedApplication"}, 36 {190, nullptr, "GetUserLastOpenedApplication"},
33 {191, nullptr, "ActivateOpenContextHolder"}, 37 {191, nullptr, "ActivateOpenContextHolder"},
34 {200, nullptr, "BeginUserRegistration"}, 38 {200, nullptr, "BeginUserRegistration"},
@@ -48,6 +52,8 @@ ACC_SU::ACC_SU(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> p
48 {998, nullptr, "DebugSetUserStateClose"}, 52 {998, nullptr, "DebugSetUserStateClose"},
49 {999, nullptr, "DebugSetUserStateOpen"}, 53 {999, nullptr, "DebugSetUserStateOpen"},
50 }; 54 };
55 // clang-format on
56
51 RegisterHandlers(functions); 57 RegisterHandlers(functions);
52} 58}
53 59
diff --git a/src/core/hle/service/acc/acc_u0.cpp b/src/core/hle/service/acc/acc_u0.cpp
index a4d705b45..182f7c7e5 100644
--- a/src/core/hle/service/acc/acc_u0.cpp
+++ b/src/core/hle/service/acc/acc_u0.cpp
@@ -8,6 +8,7 @@ namespace Service::Account {
8 8
9ACC_U0::ACC_U0(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> profile_manager) 9ACC_U0::ACC_U0(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> profile_manager)
10 : Module::Interface(std::move(module), std::move(profile_manager), "acc:u0") { 10 : Module::Interface(std::move(module), std::move(profile_manager), "acc:u0") {
11 // clang-format off
11 static const FunctionInfo functions[] = { 12 static const FunctionInfo functions[] = {
12 {0, &ACC_U0::GetUserCount, "GetUserCount"}, 13 {0, &ACC_U0::GetUserCount, "GetUserCount"},
13 {1, &ACC_U0::GetUserExistence, "GetUserExistence"}, 14 {1, &ACC_U0::GetUserExistence, "GetUserExistence"},
@@ -19,6 +20,7 @@ ACC_U0::ACC_U0(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> p
19 {50, &ACC_U0::IsUserRegistrationRequestPermitted, "IsUserRegistrationRequestPermitted"}, 20 {50, &ACC_U0::IsUserRegistrationRequestPermitted, "IsUserRegistrationRequestPermitted"},
20 {51, &ACC_U0::TrySelectUserWithoutInteraction, "TrySelectUserWithoutInteraction"}, 21 {51, &ACC_U0::TrySelectUserWithoutInteraction, "TrySelectUserWithoutInteraction"},
21 {60, nullptr, "ListOpenContextStoredUsers"}, 22 {60, nullptr, "ListOpenContextStoredUsers"},
23 {99, nullptr, "DebugActivateOpenContextRetention"},
22 {100, &ACC_U0::InitializeApplicationInfo, "InitializeApplicationInfo"}, 24 {100, &ACC_U0::InitializeApplicationInfo, "InitializeApplicationInfo"},
23 {101, &ACC_U0::GetBaasAccountManagerForApplication, "GetBaasAccountManagerForApplication"}, 25 {101, &ACC_U0::GetBaasAccountManagerForApplication, "GetBaasAccountManagerForApplication"},
24 {102, nullptr, "AuthenticateApplicationAsync"}, 26 {102, nullptr, "AuthenticateApplicationAsync"},
@@ -27,7 +29,13 @@ ACC_U0::ACC_U0(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> p
27 {111, nullptr, "ClearSaveDataThumbnail"}, 29 {111, nullptr, "ClearSaveDataThumbnail"},
28 {120, nullptr, "CreateGuestLoginRequest"}, 30 {120, nullptr, "CreateGuestLoginRequest"},
29 {130, nullptr, "LoadOpenContext"}, 31 {130, nullptr, "LoadOpenContext"},
32 {131, nullptr, "ListOpenContextStoredUsers"},
33 {140, nullptr, "InitializeApplicationInfo"},
34 {141, nullptr, "ListQualifiedUsers"},
35 {150, nullptr, "IsUserAccountSwitchLocked"},
30 }; 36 };
37 // clang-format on
38
31 RegisterHandlers(functions); 39 RegisterHandlers(functions);
32} 40}
33 41
diff --git a/src/core/hle/service/acc/acc_u1.cpp b/src/core/hle/service/acc/acc_u1.cpp
index 8fffc93b5..2dd17d935 100644
--- a/src/core/hle/service/acc/acc_u1.cpp
+++ b/src/core/hle/service/acc/acc_u1.cpp
@@ -8,6 +8,7 @@ namespace Service::Account {
8 8
9ACC_U1::ACC_U1(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> profile_manager) 9ACC_U1::ACC_U1(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> profile_manager)
10 : Module::Interface(std::move(module), std::move(profile_manager), "acc:u1") { 10 : Module::Interface(std::move(module), std::move(profile_manager), "acc:u1") {
11 // clang-format off
11 static const FunctionInfo functions[] = { 12 static const FunctionInfo functions[] = {
12 {0, &ACC_U1::GetUserCount, "GetUserCount"}, 13 {0, &ACC_U1::GetUserCount, "GetUserCount"},
13 {1, &ACC_U1::GetUserExistence, "GetUserExistence"}, 14 {1, &ACC_U1::GetUserExistence, "GetUserExistence"},
@@ -19,6 +20,7 @@ ACC_U1::ACC_U1(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> p
19 {50, &ACC_U1::IsUserRegistrationRequestPermitted, "IsUserRegistrationRequestPermitted"}, 20 {50, &ACC_U1::IsUserRegistrationRequestPermitted, "IsUserRegistrationRequestPermitted"},
20 {51, &ACC_U1::TrySelectUserWithoutInteraction, "TrySelectUserWithoutInteraction"}, 21 {51, &ACC_U1::TrySelectUserWithoutInteraction, "TrySelectUserWithoutInteraction"},
21 {60, nullptr, "ListOpenContextStoredUsers"}, 22 {60, nullptr, "ListOpenContextStoredUsers"},
23 {99, nullptr, "DebugActivateOpenContextRetention"},
22 {100, nullptr, "GetUserRegistrationNotifier"}, 24 {100, nullptr, "GetUserRegistrationNotifier"},
23 {101, nullptr, "GetUserStateChangeNotifier"}, 25 {101, nullptr, "GetUserStateChangeNotifier"},
24 {102, nullptr, "GetBaasAccountManagerForSystemService"}, 26 {102, nullptr, "GetBaasAccountManagerForSystemService"},
@@ -29,12 +31,16 @@ ACC_U1::ACC_U1(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> p
29 {111, nullptr, "ClearSaveDataThumbnail"}, 31 {111, nullptr, "ClearSaveDataThumbnail"},
30 {112, nullptr, "LoadSaveDataThumbnail"}, 32 {112, nullptr, "LoadSaveDataThumbnail"},
31 {113, nullptr, "GetSaveDataThumbnailExistence"}, 33 {113, nullptr, "GetSaveDataThumbnailExistence"},
34 {130, nullptr, "ActivateOpenContextRetention"},
35 {140, nullptr, "ListQualifiedUsers"},
32 {190, nullptr, "GetUserLastOpenedApplication"}, 36 {190, nullptr, "GetUserLastOpenedApplication"},
33 {191, nullptr, "ActivateOpenContextHolder"}, 37 {191, nullptr, "ActivateOpenContextHolder"},
34 {997, nullptr, "DebugInvalidateTokenCacheForUser"}, 38 {997, nullptr, "DebugInvalidateTokenCacheForUser"},
35 {998, nullptr, "DebugSetUserStateClose"}, 39 {998, nullptr, "DebugSetUserStateClose"},
36 {999, nullptr, "DebugSetUserStateOpen"}, 40 {999, nullptr, "DebugSetUserStateOpen"},
37 }; 41 };
42 // clang-format on
43
38 RegisterHandlers(functions); 44 RegisterHandlers(functions);
39} 45}
40 46
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index 85271d418..1aa4ce1ac 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -224,6 +224,7 @@ IDebugFunctions::IDebugFunctions() : ServiceFramework{"IDebugFunctions"} {
224 {20, nullptr, "InvalidateTransitionLayer"}, 224 {20, nullptr, "InvalidateTransitionLayer"},
225 {30, nullptr, "RequestLaunchApplicationWithUserAndArgumentForDebug"}, 225 {30, nullptr, "RequestLaunchApplicationWithUserAndArgumentForDebug"},
226 {40, nullptr, "GetAppletResourceUsageInfo"}, 226 {40, nullptr, "GetAppletResourceUsageInfo"},
227 {41, nullptr, "SetCpuBoostModeForApplet"},
227 }; 228 };
228 // clang-format on 229 // clang-format on
229 230
@@ -256,6 +257,7 @@ ISelfController::ISelfController(std::shared_ptr<NVFlinger::NVFlinger> nvflinger
256 {40, &ISelfController::CreateManagedDisplayLayer, "CreateManagedDisplayLayer"}, 257 {40, &ISelfController::CreateManagedDisplayLayer, "CreateManagedDisplayLayer"},
257 {41, nullptr, "IsSystemBufferSharingEnabled"}, 258 {41, nullptr, "IsSystemBufferSharingEnabled"},
258 {42, nullptr, "GetSystemSharedLayerHandle"}, 259 {42, nullptr, "GetSystemSharedLayerHandle"},
260 {43, nullptr, "GetSystemSharedBufferHandle"},
259 {50, &ISelfController::SetHandlesRequestToDisplay, "SetHandlesRequestToDisplay"}, 261 {50, &ISelfController::SetHandlesRequestToDisplay, "SetHandlesRequestToDisplay"},
260 {51, nullptr, "ApproveToDisplay"}, 262 {51, nullptr, "ApproveToDisplay"},
261 {60, nullptr, "OverrideAutoSleepTimeAndDimmingTime"}, 263 {60, nullptr, "OverrideAutoSleepTimeAndDimmingTime"},
@@ -269,9 +271,11 @@ ISelfController::ISelfController(std::shared_ptr<NVFlinger::NVFlinger> nvflinger
269 {68, nullptr, "SetAutoSleepDisabled"}, 271 {68, nullptr, "SetAutoSleepDisabled"},
270 {69, nullptr, "IsAutoSleepDisabled"}, 272 {69, nullptr, "IsAutoSleepDisabled"},
271 {70, nullptr, "ReportMultimediaError"}, 273 {70, nullptr, "ReportMultimediaError"},
274 {71, nullptr, "GetCurrentIlluminanceEx"},
272 {80, nullptr, "SetWirelessPriorityMode"}, 275 {80, nullptr, "SetWirelessPriorityMode"},
273 {90, nullptr, "GetAccumulatedSuspendedTickValue"}, 276 {90, nullptr, "GetAccumulatedSuspendedTickValue"},
274 {91, nullptr, "GetAccumulatedSuspendedTickChangedEvent"}, 277 {91, nullptr, "GetAccumulatedSuspendedTickChangedEvent"},
278 {100, nullptr, "SetAlbumImageTakenNotificationEnabled"},
275 {1000, nullptr, "GetDebugStorageChannel"}, 279 {1000, nullptr, "GetDebugStorageChannel"},
276 }; 280 };
277 // clang-format on 281 // clang-format on
@@ -516,11 +520,20 @@ ICommonStateGetter::ICommonStateGetter(std::shared_ptr<AppletMessageQueue> msg_q
516 {50, nullptr, "IsVrModeEnabled"}, 520 {50, nullptr, "IsVrModeEnabled"},
517 {51, nullptr, "SetVrModeEnabled"}, 521 {51, nullptr, "SetVrModeEnabled"},
518 {52, nullptr, "SwitchLcdBacklight"}, 522 {52, nullptr, "SwitchLcdBacklight"},
523 {53, nullptr, "BeginVrModeEx"},
524 {54, nullptr, "EndVrModeEx"},
519 {55, nullptr, "IsInControllerFirmwareUpdateSection"}, 525 {55, nullptr, "IsInControllerFirmwareUpdateSection"},
520 {60, &ICommonStateGetter::GetDefaultDisplayResolution, "GetDefaultDisplayResolution"}, 526 {60, &ICommonStateGetter::GetDefaultDisplayResolution, "GetDefaultDisplayResolution"},
521 {61, &ICommonStateGetter::GetDefaultDisplayResolutionChangeEvent, "GetDefaultDisplayResolutionChangeEvent"}, 527 {61, &ICommonStateGetter::GetDefaultDisplayResolutionChangeEvent, "GetDefaultDisplayResolutionChangeEvent"},
522 {62, nullptr, "GetHdcpAuthenticationState"}, 528 {62, nullptr, "GetHdcpAuthenticationState"},
523 {63, nullptr, "GetHdcpAuthenticationStateChangeEvent"}, 529 {63, nullptr, "GetHdcpAuthenticationStateChangeEvent"},
530 {64, nullptr, "SetTvPowerStateMatchingMode"},
531 {65, nullptr, "GetApplicationIdByContentActionName"},
532 {66, nullptr, "SetCpuBoostMode"},
533 {80, nullptr, "PerformSystemButtonPressingIfInFocus"},
534 {90, nullptr, "SetPerformanceConfigurationChangedNotification"},
535 {91, nullptr, "GetCurrentPerformanceConfiguration"},
536 {200, nullptr, "GetOperationModeSystemInfo"},
524 }; 537 };
525 // clang-format on 538 // clang-format on
526 539
@@ -960,6 +973,8 @@ IApplicationFunctions::IApplicationFunctions() : ServiceFramework("IApplicationF
960 {11, nullptr, "CreateApplicationAndPushAndRequestToStartForQuest"}, 973 {11, nullptr, "CreateApplicationAndPushAndRequestToStartForQuest"},
961 {12, nullptr, "CreateApplicationAndRequestToStart"}, 974 {12, nullptr, "CreateApplicationAndRequestToStart"},
962 {13, &IApplicationFunctions::CreateApplicationAndRequestToStartForQuest, "CreateApplicationAndRequestToStartForQuest"}, 975 {13, &IApplicationFunctions::CreateApplicationAndRequestToStartForQuest, "CreateApplicationAndRequestToStartForQuest"},
976 {14, nullptr, "CreateApplicationWithAttributeAndPushAndRequestToStartForQuest"},
977 {15, nullptr, "CreateApplicationWithAttributeAndRequestToStartForQuest"},
963 {20, &IApplicationFunctions::EnsureSaveData, "EnsureSaveData"}, 978 {20, &IApplicationFunctions::EnsureSaveData, "EnsureSaveData"},
964 {21, &IApplicationFunctions::GetDesiredLanguage, "GetDesiredLanguage"}, 979 {21, &IApplicationFunctions::GetDesiredLanguage, "GetDesiredLanguage"},
965 {22, &IApplicationFunctions::SetTerminateResult, "SetTerminateResult"}, 980 {22, &IApplicationFunctions::SetTerminateResult, "SetTerminateResult"},
@@ -1233,6 +1248,7 @@ IGlobalStateController::IGlobalStateController() : ServiceFramework("IGlobalStat
1233 {2, nullptr, "StartSleepSequence"}, 1248 {2, nullptr, "StartSleepSequence"},
1234 {3, nullptr, "StartShutdownSequence"}, 1249 {3, nullptr, "StartShutdownSequence"},
1235 {4, nullptr, "StartRebootSequence"}, 1250 {4, nullptr, "StartRebootSequence"},
1251 {9, nullptr, "IsAutoPowerDownRequested"},
1236 {10, nullptr, "LoadAndApplyIdlePolicySettings"}, 1252 {10, nullptr, "LoadAndApplyIdlePolicySettings"},
1237 {11, nullptr, "NotifyCecSettingsChanged"}, 1253 {11, nullptr, "NotifyCecSettingsChanged"},
1238 {12, nullptr, "SetDefaultHomeButtonLongPressTime"}, 1254 {12, nullptr, "SetDefaultHomeButtonLongPressTime"},
diff --git a/src/core/hle/service/am/applet_ae.cpp b/src/core/hle/service/am/applet_ae.cpp
index b888f861d..488add8e7 100644
--- a/src/core/hle/service/am/applet_ae.cpp
+++ b/src/core/hle/service/am/applet_ae.cpp
@@ -16,6 +16,7 @@ public:
16 std::shared_ptr<AppletMessageQueue> msg_queue) 16 std::shared_ptr<AppletMessageQueue> msg_queue)
17 : ServiceFramework("ILibraryAppletProxy"), nvflinger(std::move(nvflinger)), 17 : ServiceFramework("ILibraryAppletProxy"), nvflinger(std::move(nvflinger)),
18 msg_queue(std::move(msg_queue)) { 18 msg_queue(std::move(msg_queue)) {
19 // clang-format off
19 static const FunctionInfo functions[] = { 20 static const FunctionInfo functions[] = {
20 {0, &ILibraryAppletProxy::GetCommonStateGetter, "GetCommonStateGetter"}, 21 {0, &ILibraryAppletProxy::GetCommonStateGetter, "GetCommonStateGetter"},
21 {1, &ILibraryAppletProxy::GetSelfController, "GetSelfController"}, 22 {1, &ILibraryAppletProxy::GetSelfController, "GetSelfController"},
@@ -25,8 +26,11 @@ public:
25 {10, &ILibraryAppletProxy::GetProcessWindingController, "GetProcessWindingController"}, 26 {10, &ILibraryAppletProxy::GetProcessWindingController, "GetProcessWindingController"},
26 {11, &ILibraryAppletProxy::GetLibraryAppletCreator, "GetLibraryAppletCreator"}, 27 {11, &ILibraryAppletProxy::GetLibraryAppletCreator, "GetLibraryAppletCreator"},
27 {20, &ILibraryAppletProxy::GetApplicationFunctions, "GetApplicationFunctions"}, 28 {20, &ILibraryAppletProxy::GetApplicationFunctions, "GetApplicationFunctions"},
29 {21, nullptr, "GetAppletCommonFunctions"},
28 {1000, &ILibraryAppletProxy::GetDebugFunctions, "GetDebugFunctions"}, 30 {1000, &ILibraryAppletProxy::GetDebugFunctions, "GetDebugFunctions"},
29 }; 31 };
32 // clang-format on
33
30 RegisterHandlers(functions); 34 RegisterHandlers(functions);
31 } 35 }
32 36
@@ -113,6 +117,7 @@ public:
113 std::shared_ptr<AppletMessageQueue> msg_queue) 117 std::shared_ptr<AppletMessageQueue> msg_queue)
114 : ServiceFramework("ISystemAppletProxy"), nvflinger(std::move(nvflinger)), 118 : ServiceFramework("ISystemAppletProxy"), nvflinger(std::move(nvflinger)),
115 msg_queue(std::move(msg_queue)) { 119 msg_queue(std::move(msg_queue)) {
120 // clang-format off
116 static const FunctionInfo functions[] = { 121 static const FunctionInfo functions[] = {
117 {0, &ISystemAppletProxy::GetCommonStateGetter, "GetCommonStateGetter"}, 122 {0, &ISystemAppletProxy::GetCommonStateGetter, "GetCommonStateGetter"},
118 {1, &ISystemAppletProxy::GetSelfController, "GetSelfController"}, 123 {1, &ISystemAppletProxy::GetSelfController, "GetSelfController"},
@@ -124,8 +129,11 @@ public:
124 {20, &ISystemAppletProxy::GetHomeMenuFunctions, "GetHomeMenuFunctions"}, 129 {20, &ISystemAppletProxy::GetHomeMenuFunctions, "GetHomeMenuFunctions"},
125 {21, &ISystemAppletProxy::GetGlobalStateController, "GetGlobalStateController"}, 130 {21, &ISystemAppletProxy::GetGlobalStateController, "GetGlobalStateController"},
126 {22, &ISystemAppletProxy::GetApplicationCreator, "GetApplicationCreator"}, 131 {22, &ISystemAppletProxy::GetApplicationCreator, "GetApplicationCreator"},
132 {23, nullptr, "GetAppletCommonFunctions"},
127 {1000, &ISystemAppletProxy::GetDebugFunctions, "GetDebugFunctions"}, 133 {1000, &ISystemAppletProxy::GetDebugFunctions, "GetDebugFunctions"},
128 }; 134 };
135 // clang-format on
136
129 RegisterHandlers(functions); 137 RegisterHandlers(functions);
130 } 138 }
131 139
diff --git a/src/core/hle/service/aoc/aoc_u.cpp b/src/core/hle/service/aoc/aoc_u.cpp
index 2d768d9fc..51d8c26b4 100644
--- a/src/core/hle/service/aoc/aoc_u.cpp
+++ b/src/core/hle/service/aoc/aoc_u.cpp
@@ -50,6 +50,7 @@ static std::vector<u64> AccumulateAOCTitleIDs() {
50} 50}
51 51
52AOC_U::AOC_U() : ServiceFramework("aoc:u"), add_on_content(AccumulateAOCTitleIDs()) { 52AOC_U::AOC_U() : ServiceFramework("aoc:u"), add_on_content(AccumulateAOCTitleIDs()) {
53 // clang-format off
53 static const FunctionInfo functions[] = { 54 static const FunctionInfo functions[] = {
54 {0, nullptr, "CountAddOnContentByApplicationId"}, 55 {0, nullptr, "CountAddOnContentByApplicationId"},
55 {1, nullptr, "ListAddOnContentByApplicationId"}, 56 {1, nullptr, "ListAddOnContentByApplicationId"},
@@ -60,7 +61,10 @@ AOC_U::AOC_U() : ServiceFramework("aoc:u"), add_on_content(AccumulateAOCTitleIDs
60 {6, nullptr, "PrepareAddOnContentByApplicationId"}, 61 {6, nullptr, "PrepareAddOnContentByApplicationId"},
61 {7, &AOC_U::PrepareAddOnContent, "PrepareAddOnContent"}, 62 {7, &AOC_U::PrepareAddOnContent, "PrepareAddOnContent"},
62 {8, &AOC_U::GetAddOnContentListChangedEvent, "GetAddOnContentListChangedEvent"}, 63 {8, &AOC_U::GetAddOnContentListChangedEvent, "GetAddOnContentListChangedEvent"},
64 {100, nullptr, "CreateEcPurchasedEventManager"},
63 }; 65 };
66 // clang-format on
67
64 RegisterHandlers(functions); 68 RegisterHandlers(functions);
65 69
66 auto& kernel = Core::System::GetInstance().Kernel(); 70 auto& kernel = Core::System::GetInstance().Kernel();
diff --git a/src/core/hle/service/apm/interface.cpp b/src/core/hle/service/apm/interface.cpp
index fcacbab72..d058c0245 100644
--- a/src/core/hle/service/apm/interface.cpp
+++ b/src/core/hle/service/apm/interface.cpp
@@ -87,6 +87,8 @@ APM_Sys::APM_Sys() : ServiceFramework{"apm:sys"} {
87 {3, nullptr, "GetLastThrottlingState"}, 87 {3, nullptr, "GetLastThrottlingState"},
88 {4, nullptr, "ClearLastThrottlingState"}, 88 {4, nullptr, "ClearLastThrottlingState"},
89 {5, nullptr, "LoadAndApplySettings"}, 89 {5, nullptr, "LoadAndApplySettings"},
90 {6, nullptr, "SetCpuBoostMode"},
91 {7, nullptr, "GetCurrentPerformanceConfiguration"},
90 }; 92 };
91 // clang-format on 93 // clang-format on
92 94
diff --git a/src/core/hle/service/audio/audin_u.cpp b/src/core/hle/service/audio/audin_u.cpp
index e5daefdde..d7f1d348d 100644
--- a/src/core/hle/service/audio/audin_u.cpp
+++ b/src/core/hle/service/audio/audin_u.cpp
@@ -25,6 +25,7 @@ public:
25 {11, nullptr, "GetAudioInBufferCount"}, 25 {11, nullptr, "GetAudioInBufferCount"},
26 {12, nullptr, "SetAudioInDeviceGain"}, 26 {12, nullptr, "SetAudioInDeviceGain"},
27 {13, nullptr, "GetAudioInDeviceGain"}, 27 {13, nullptr, "GetAudioInDeviceGain"},
28 {14, nullptr, "FlushAudioInBuffers"},
28 }; 29 };
29 // clang-format on 30 // clang-format on
30 31
diff --git a/src/core/hle/service/audio/audout_u.cpp b/src/core/hle/service/audio/audout_u.cpp
index 39acb7b23..12875fb42 100644
--- a/src/core/hle/service/audio/audout_u.cpp
+++ b/src/core/hle/service/audio/audout_u.cpp
@@ -44,7 +44,7 @@ public:
44 std::string&& unique_name) 44 std::string&& unique_name)
45 : ServiceFramework("IAudioOut"), audio_core(audio_core), 45 : ServiceFramework("IAudioOut"), audio_core(audio_core),
46 device_name(std::move(device_name)), audio_params(audio_params) { 46 device_name(std::move(device_name)), audio_params(audio_params) {
47 47 // clang-format off
48 static const FunctionInfo functions[] = { 48 static const FunctionInfo functions[] = {
49 {0, &IAudioOut::GetAudioOutState, "GetAudioOutState"}, 49 {0, &IAudioOut::GetAudioOutState, "GetAudioOutState"},
50 {1, &IAudioOut::StartAudioOut, "StartAudioOut"}, 50 {1, &IAudioOut::StartAudioOut, "StartAudioOut"},
@@ -58,7 +58,10 @@ public:
58 {9, &IAudioOut::GetAudioOutBufferCount, "GetAudioOutBufferCount"}, 58 {9, &IAudioOut::GetAudioOutBufferCount, "GetAudioOutBufferCount"},
59 {10, nullptr, "GetAudioOutPlayedSampleCount"}, 59 {10, nullptr, "GetAudioOutPlayedSampleCount"},
60 {11, nullptr, "FlushAudioOutBuffers"}, 60 {11, nullptr, "FlushAudioOutBuffers"},
61 {12, nullptr, "SetAudioOutVolume"},
62 {13, nullptr, "GetAudioOutVolume"},
61 }; 63 };
64 // clang-format on
62 RegisterHandlers(functions); 65 RegisterHandlers(functions);
63 66
64 // This is the event handle used to check if the audio buffer was released 67 // This is the event handle used to check if the audio buffer was released
diff --git a/src/core/hle/service/btdrv/btdrv.cpp b/src/core/hle/service/btdrv/btdrv.cpp
index 59ef603e1..974ff8e1a 100644
--- a/src/core/hle/service/btdrv/btdrv.cpp
+++ b/src/core/hle/service/btdrv/btdrv.cpp
@@ -154,7 +154,8 @@ public:
154 {96, nullptr, "GetLeHidEventInfo"}, 154 {96, nullptr, "GetLeHidEventInfo"},
155 {97, nullptr, "RegisterBleHidEvent"}, 155 {97, nullptr, "RegisterBleHidEvent"},
156 {98, nullptr, "SetLeScanParameter"}, 156 {98, nullptr, "SetLeScanParameter"},
157 {256, nullptr, "GetIsManufacturingMode"} 157 {256, nullptr, "GetIsManufacturingMode"},
158 {257, nullptr, "EmulateBluetoothCrash"},
158 }; 159 };
159 // clang-format on 160 // clang-format on
160 161
diff --git a/src/core/hle/service/caps/caps.cpp b/src/core/hle/service/caps/caps.cpp
index ae7b0720b..907f464ab 100644
--- a/src/core/hle/service/caps/caps.cpp
+++ b/src/core/hle/service/caps/caps.cpp
@@ -15,32 +15,41 @@ public:
15 explicit CAPS_A() : ServiceFramework{"caps:a"} { 15 explicit CAPS_A() : ServiceFramework{"caps:a"} {
16 // clang-format off 16 // clang-format off
17 static const FunctionInfo functions[] = { 17 static const FunctionInfo functions[] = {
18 {0, nullptr, "Unknown1"}, 18 {0, nullptr, "GetAlbumFileCount"},
19 {1, nullptr, "Unknown2"}, 19 {1, nullptr, "GetAlbumFileList"},
20 {2, nullptr, "Unknown3"}, 20 {2, nullptr, "LoadAlbumFile"},
21 {3, nullptr, "Unknown4"}, 21 {3, nullptr, "DeleteAlbumFile"},
22 {4, nullptr, "Unknown5"}, 22 {4, nullptr, "StorageCopyAlbumFile"},
23 {5, nullptr, "Unknown6"}, 23 {5, nullptr, "IsAlbumMounted"},
24 {6, nullptr, "Unknown7"}, 24 {6, nullptr, "GetAlbumUsage"},
25 {7, nullptr, "Unknown8"}, 25 {7, nullptr, "GetAlbumFileSize"},
26 {8, nullptr, "Unknown9"}, 26 {8, nullptr, "LoadAlbumFileThumbnail"},
27 {9, nullptr, "Unknown10"}, 27 {9, nullptr, "LoadAlbumScreenShotImage"},
28 {10, nullptr, "Unknown11"}, 28 {10, nullptr, "LoadAlbumScreenShotThumbnailImage"},
29 {11, nullptr, "Unknown12"}, 29 {11, nullptr, "GetAlbumEntryFromApplicationAlbumEntry"},
30 {12, nullptr, "Unknown13"}, 30 {12, nullptr, "Unknown12"},
31 {13, nullptr, "Unknown14"}, 31 {13, nullptr, "Unknown13"},
32 {14, nullptr, "Unknown15"}, 32 {14, nullptr, "Unknown14"},
33 {301, nullptr, "Unknown16"}, 33 {15, nullptr, "Unknown15"},
34 {401, nullptr, "Unknown17"}, 34 {16, nullptr, "Unknown16"},
35 {501, nullptr, "Unknown18"}, 35 {17, nullptr, "Unknown17"},
36 {1001, nullptr, "Unknown19"}, 36 {18, nullptr, "Unknown18"},
37 {1002, nullptr, "Unknown20"}, 37 {202, nullptr, "SaveEditedScreenShot"},
38 {8001, nullptr, "Unknown21"}, 38 {301, nullptr, "GetLastThumbnail"},
39 {8002, nullptr, "Unknown22"}, 39 {401, nullptr, "GetAutoSavingStorage"},
40 {8011, nullptr, "Unknown23"}, 40 {501, nullptr, "GetRequiredStorageSpaceSizeToCopyAll"},
41 {8012, nullptr, "Unknown24"}, 41 {1001, nullptr, "Unknown1001"},
42 {8021, nullptr, "Unknown25"}, 42 {1002, nullptr, "Unknown1002"},
43 {10011, nullptr, "Unknown26"}, 43 {1003, nullptr, "Unknown1003"},
44 {8001, nullptr, "ForceAlbumUnmounted"},
45 {8002, nullptr, "ResetAlbumMountStatus"},
46 {8011, nullptr, "RefreshAlbumCache"},
47 {8012, nullptr, "GetAlbumCache"},
48 {8013, nullptr, "Unknown8013"},
49 {8021, nullptr, "GetAlbumEntryFromApplicationAlbumEntryAruid"},
50 {10011, nullptr, "SetInternalErrorConversionEnabled"},
51 {50000, nullptr, "Unknown50000"},
52 {60002, nullptr, "Unknown60002"},
44 }; 53 };
45 // clang-format on 54 // clang-format on
46 55
@@ -53,16 +62,17 @@ public:
53 explicit CAPS_C() : ServiceFramework{"caps:c"} { 62 explicit CAPS_C() : ServiceFramework{"caps:c"} {
54 // clang-format off 63 // clang-format off
55 static const FunctionInfo functions[] = { 64 static const FunctionInfo functions[] = {
56 {2001, nullptr, "Unknown1"}, 65 {33, nullptr, "Unknown33"},
57 {2002, nullptr, "Unknown2"}, 66 {2001, nullptr, "Unknown2001"},
58 {2011, nullptr, "Unknown3"}, 67 {2002, nullptr, "Unknown2002"},
59 {2012, nullptr, "Unknown4"}, 68 {2011, nullptr, "Unknown2011"},
60 {2013, nullptr, "Unknown5"}, 69 {2012, nullptr, "Unknown2012"},
61 {2014, nullptr, "Unknown6"}, 70 {2013, nullptr, "Unknown2013"},
62 {2101, nullptr, "Unknown7"}, 71 {2014, nullptr, "Unknown2014"},
63 {2102, nullptr, "Unknown8"}, 72 {2101, nullptr, "Unknown2101"},
64 {2201, nullptr, "Unknown9"}, 73 {2102, nullptr, "Unknown2102"},
65 {2301, nullptr, "Unknown10"}, 74 {2201, nullptr, "Unknown2201"},
75 {2301, nullptr, "Unknown2301"},
66 }; 76 };
67 // clang-format on 77 // clang-format on
68 78
@@ -127,11 +137,18 @@ public:
127 explicit CAPS_U() : ServiceFramework{"caps:u"} { 137 explicit CAPS_U() : ServiceFramework{"caps:u"} {
128 // clang-format off 138 // clang-format off
129 static const FunctionInfo functions[] = { 139 static const FunctionInfo functions[] = {
140 {32, nullptr, "SetShimLibraryVersion"},
130 {102, nullptr, "GetAlbumFileListByAruid"}, 141 {102, nullptr, "GetAlbumFileListByAruid"},
131 {103, nullptr, "DeleteAlbumFileByAruid"}, 142 {103, nullptr, "DeleteAlbumFileByAruid"},
132 {104, nullptr, "GetAlbumFileSizeByAruid"}, 143 {104, nullptr, "GetAlbumFileSizeByAruid"},
144 {105, nullptr, "DeleteAlbumFileByAruidForDebug"},
133 {110, nullptr, "LoadAlbumScreenShotImageByAruid"}, 145 {110, nullptr, "LoadAlbumScreenShotImageByAruid"},
134 {120, nullptr, "LoadAlbumScreenShotThumbnailImageByAruid"}, 146 {120, nullptr, "LoadAlbumScreenShotThumbnailImageByAruid"},
147 {130, nullptr, "PrecheckToCreateContentsByAruid"},
148 {140, nullptr, "GetAlbumFileList1AafeAruidDeprecated"},
149 {141, nullptr, "GetAlbumFileList2AafeUidAruidDeprecated"},
150 {142, nullptr, "GetAlbumFileList3AaeAruid"},
151 {143, nullptr, "GetAlbumFileList4AaeUidAruid"},
135 {60002, nullptr, "OpenAccessorSessionForApplication"}, 152 {60002, nullptr, "OpenAccessorSessionForApplication"},
136 }; 153 };
137 // clang-format on 154 // clang-format on
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp
index 657baddb8..65d2c2802 100644
--- a/src/core/hle/service/filesystem/fsp_srv.cpp
+++ b/src/core/hle/service/filesystem/fsp_srv.cpp
@@ -665,10 +665,13 @@ FSP_SRV::FSP_SRV() : ServiceFramework("fsp-srv") {
665 {100, nullptr, "OpenImageDirectoryFileSystem"}, 665 {100, nullptr, "OpenImageDirectoryFileSystem"},
666 {110, nullptr, "OpenContentStorageFileSystem"}, 666 {110, nullptr, "OpenContentStorageFileSystem"},
667 {120, nullptr, "OpenCloudBackupWorkStorageFileSystem"}, 667 {120, nullptr, "OpenCloudBackupWorkStorageFileSystem"},
668 {130, nullptr, "OpenCustomStorageFileSystem"},
668 {200, &FSP_SRV::OpenDataStorageByCurrentProcess, "OpenDataStorageByCurrentProcess"}, 669 {200, &FSP_SRV::OpenDataStorageByCurrentProcess, "OpenDataStorageByCurrentProcess"},
669 {201, nullptr, "OpenDataStorageByProgramId"}, 670 {201, nullptr, "OpenDataStorageByProgramId"},
670 {202, &FSP_SRV::OpenDataStorageByDataId, "OpenDataStorageByDataId"}, 671 {202, &FSP_SRV::OpenDataStorageByDataId, "OpenDataStorageByDataId"},
671 {203, &FSP_SRV::OpenPatchDataStorageByCurrentProcess, "OpenPatchDataStorageByCurrentProcess"}, 672 {203, &FSP_SRV::OpenPatchDataStorageByCurrentProcess, "OpenPatchDataStorageByCurrentProcess"},
673 {204, nullptr, "OpenDataFileSystemByProgramIndex"},
674 {205, nullptr, "OpenDataStorageByProgramIndex"},
672 {400, nullptr, "OpenDeviceOperator"}, 675 {400, nullptr, "OpenDeviceOperator"},
673 {500, nullptr, "OpenSdCardDetectionEventNotifier"}, 676 {500, nullptr, "OpenSdCardDetectionEventNotifier"},
674 {501, nullptr, "OpenGameCardDetectionEventNotifier"}, 677 {501, nullptr, "OpenGameCardDetectionEventNotifier"},
@@ -692,6 +695,7 @@ FSP_SRV::FSP_SRV() : ServiceFramework("fsp-srv") {
692 {614, nullptr, "CorruptSaveDataFileSystemBySaveDataSpaceId"}, 695 {614, nullptr, "CorruptSaveDataFileSystemBySaveDataSpaceId"},
693 {615, nullptr, "QuerySaveDataInternalStorageTotalSize"}, 696 {615, nullptr, "QuerySaveDataInternalStorageTotalSize"},
694 {616, nullptr, "GetSaveDataCommitId"}, 697 {616, nullptr, "GetSaveDataCommitId"},
698 {617, nullptr, "UnregisterExternalKey"},
695 {620, nullptr, "SetSdCardEncryptionSeed"}, 699 {620, nullptr, "SetSdCardEncryptionSeed"},
696 {630, nullptr, "SetSdCardAccessibility"}, 700 {630, nullptr, "SetSdCardAccessibility"},
697 {631, nullptr, "IsSdCardAccessible"}, 701 {631, nullptr, "IsSdCardAccessible"},
@@ -702,6 +706,7 @@ FSP_SRV::FSP_SRV() : ServiceFramework("fsp-srv") {
702 {710, nullptr, "ResolveAccessFailure"}, 706 {710, nullptr, "ResolveAccessFailure"},
703 {720, nullptr, "AbandonAccessFailure"}, 707 {720, nullptr, "AbandonAccessFailure"},
704 {800, nullptr, "GetAndClearFileSystemProxyErrorInfo"}, 708 {800, nullptr, "GetAndClearFileSystemProxyErrorInfo"},
709 {810, nullptr, "RegisterProgramIndexMapInfo"},
705 {1000, nullptr, "SetBisRootForHost"}, 710 {1000, nullptr, "SetBisRootForHost"},
706 {1001, nullptr, "SetSaveDataSize"}, 711 {1001, nullptr, "SetSaveDataSize"},
707 {1002, nullptr, "SetSaveDataRootPath"}, 712 {1002, nullptr, "SetSaveDataRootPath"},
@@ -712,6 +717,8 @@ FSP_SRV::FSP_SRV() : ServiceFramework("fsp-srv") {
712 {1007, nullptr, "RegisterUpdatePartition"}, 717 {1007, nullptr, "RegisterUpdatePartition"},
713 {1008, nullptr, "OpenRegisteredUpdatePartition"}, 718 {1008, nullptr, "OpenRegisteredUpdatePartition"},
714 {1009, nullptr, "GetAndClearMemoryReportInfo"}, 719 {1009, nullptr, "GetAndClearMemoryReportInfo"},
720 {1010, nullptr, "SetDataStorageRedirectTarget"},
721 {1011, nullptr, "OutputAccessLogToSdCard2"},
715 {1100, nullptr, "OverrideSaveDataTransferTokenSignVerificationKey"}, 722 {1100, nullptr, "OverrideSaveDataTransferTokenSignVerificationKey"},
716 {1110, nullptr, "CorruptSaveDataFileSystemBySaveDataSpaceId2"}, 723 {1110, nullptr, "CorruptSaveDataFileSystemBySaveDataSpaceId2"},
717 {1200, nullptr, "OpenMultiCommitManager"}, 724 {1200, nullptr, "OpenMultiCommitManager"},
diff --git a/src/core/hle/service/friend/friend.cpp b/src/core/hle/service/friend/friend.cpp
index d9225d624..5100e376c 100644
--- a/src/core/hle/service/friend/friend.cpp
+++ b/src/core/hle/service/friend/friend.cpp
@@ -12,6 +12,7 @@ namespace Service::Friend {
12class IFriendService final : public ServiceFramework<IFriendService> { 12class IFriendService final : public ServiceFramework<IFriendService> {
13public: 13public:
14 IFriendService() : ServiceFramework("IFriendService") { 14 IFriendService() : ServiceFramework("IFriendService") {
15 // clang-format off
15 static const FunctionInfo functions[] = { 16 static const FunctionInfo functions[] = {
16 {0, nullptr, "GetCompletionEvent"}, 17 {0, nullptr, "GetCompletionEvent"},
17 {1, nullptr, "Cancel"}, 18 {1, nullptr, "Cancel"},
@@ -24,8 +25,7 @@ public:
24 {10400, nullptr, "GetBlockedUserListIds"}, 25 {10400, nullptr, "GetBlockedUserListIds"},
25 {10500, nullptr, "GetProfileList"}, 26 {10500, nullptr, "GetProfileList"},
26 {10600, nullptr, "DeclareOpenOnlinePlaySession"}, 27 {10600, nullptr, "DeclareOpenOnlinePlaySession"},
27 {10601, &IFriendService::DeclareCloseOnlinePlaySession, 28 {10601, &IFriendService::DeclareCloseOnlinePlaySession, "DeclareCloseOnlinePlaySession"},
28 "DeclareCloseOnlinePlaySession"},
29 {10610, &IFriendService::UpdateUserPresence, "UpdateUserPresence"}, 29 {10610, &IFriendService::UpdateUserPresence, "UpdateUserPresence"},
30 {10700, nullptr, "GetPlayHistoryRegistrationKey"}, 30 {10700, nullptr, "GetPlayHistoryRegistrationKey"},
31 {10701, nullptr, "GetPlayHistoryRegistrationKeyWithNetworkServiceAccountId"}, 31 {10701, nullptr, "GetPlayHistoryRegistrationKeyWithNetworkServiceAccountId"},
@@ -88,6 +88,7 @@ public:
88 {30830, nullptr, "ClearPlayLog"}, 88 {30830, nullptr, "ClearPlayLog"},
89 {49900, nullptr, "DeleteNetworkServiceAccountCache"}, 89 {49900, nullptr, "DeleteNetworkServiceAccountCache"},
90 }; 90 };
91 // clang-format on
91 92
92 RegisterHandlers(functions); 93 RegisterHandlers(functions);
93 } 94 }
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index 63b55758b..a4ad95d96 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -210,6 +210,7 @@ Hid::Hid() : ServiceFramework("hid") {
210 {131, nullptr, "IsUnintendedHomeButtonInputProtectionEnabled"}, 210 {131, nullptr, "IsUnintendedHomeButtonInputProtectionEnabled"},
211 {132, nullptr, "EnableUnintendedHomeButtonInputProtection"}, 211 {132, nullptr, "EnableUnintendedHomeButtonInputProtection"},
212 {133, nullptr, "SetNpadJoyAssignmentModeSingleWithDestination"}, 212 {133, nullptr, "SetNpadJoyAssignmentModeSingleWithDestination"},
213 {134, nullptr, "SetNpadAnalogStickUseCenterClamp"},
213 {200, &Hid::GetVibrationDeviceInfo, "GetVibrationDeviceInfo"}, 214 {200, &Hid::GetVibrationDeviceInfo, "GetVibrationDeviceInfo"},
214 {201, &Hid::SendVibrationValue, "SendVibrationValue"}, 215 {201, &Hid::SendVibrationValue, "SendVibrationValue"},
215 {202, &Hid::GetActualVibrationValue, "GetActualVibrationValue"}, 216 {202, &Hid::GetActualVibrationValue, "GetActualVibrationValue"},
@@ -221,6 +222,7 @@ Hid::Hid() : ServiceFramework("hid") {
221 {208, nullptr, "GetActualVibrationGcErmCommand"}, 222 {208, nullptr, "GetActualVibrationGcErmCommand"},
222 {209, &Hid::BeginPermitVibrationSession, "BeginPermitVibrationSession"}, 223 {209, &Hid::BeginPermitVibrationSession, "BeginPermitVibrationSession"},
223 {210, &Hid::EndPermitVibrationSession, "EndPermitVibrationSession"}, 224 {210, &Hid::EndPermitVibrationSession, "EndPermitVibrationSession"},
225 {211, nullptr, "IsVibrationDeviceMounted"},
224 {300, &Hid::ActivateConsoleSixAxisSensor, "ActivateConsoleSixAxisSensor"}, 226 {300, &Hid::ActivateConsoleSixAxisSensor, "ActivateConsoleSixAxisSensor"},
225 {301, &Hid::StartConsoleSixAxisSensor, "StartConsoleSixAxisSensor"}, 227 {301, &Hid::StartConsoleSixAxisSensor, "StartConsoleSixAxisSensor"},
226 {302, nullptr, "StopConsoleSixAxisSensor"}, 228 {302, nullptr, "StopConsoleSixAxisSensor"},
@@ -265,6 +267,7 @@ Hid::Hid() : ServiceFramework("hid") {
265 {523, nullptr, "SetIsPalmaPairedConnectable"}, 267 {523, nullptr, "SetIsPalmaPairedConnectable"},
266 {524, nullptr, "PairPalma"}, 268 {524, nullptr, "PairPalma"},
267 {525, &Hid::SetPalmaBoostMode, "SetPalmaBoostMode"}, 269 {525, &Hid::SetPalmaBoostMode, "SetPalmaBoostMode"},
270 {526, nullptr, "CancelWritePalmaWaveEntry"},
268 {1000, nullptr, "SetNpadCommunicationMode"}, 271 {1000, nullptr, "SetNpadCommunicationMode"},
269 {1001, nullptr, "GetNpadCommunicationMode"}, 272 {1001, nullptr, "GetNpadCommunicationMode"},
270 }; 273 };
@@ -797,12 +800,22 @@ public:
797 {232, nullptr, "EnableShipmentMode"}, 800 {232, nullptr, "EnableShipmentMode"},
798 {233, nullptr, "ClearPairingInfo"}, 801 {233, nullptr, "ClearPairingInfo"},
799 {234, nullptr, "GetUniquePadDeviceTypeSetInternal"}, 802 {234, nullptr, "GetUniquePadDeviceTypeSetInternal"},
803 {235, nullptr, "EnableAnalogStickPower"},
800 {301, nullptr, "GetAbstractedPadHandles"}, 804 {301, nullptr, "GetAbstractedPadHandles"},
801 {302, nullptr, "GetAbstractedPadState"}, 805 {302, nullptr, "GetAbstractedPadState"},
802 {303, nullptr, "GetAbstractedPadsState"}, 806 {303, nullptr, "GetAbstractedPadsState"},
803 {321, nullptr, "SetAutoPilotVirtualPadState"}, 807 {321, nullptr, "SetAutoPilotVirtualPadState"},
804 {322, nullptr, "UnsetAutoPilotVirtualPadState"}, 808 {322, nullptr, "UnsetAutoPilotVirtualPadState"},
805 {323, nullptr, "UnsetAllAutoPilotVirtualPadState"}, 809 {323, nullptr, "UnsetAllAutoPilotVirtualPadState"},
810 {324, nullptr, "AttachHdlsWorkBuffer"},
811 {325, nullptr, "ReleaseHdlsWorkBuffer"},
812 {326, nullptr, "DumpHdlsNpadAssignmentState"},
813 {327, nullptr, "DumpHdlsStates"},
814 {328, nullptr, "ApplyHdlsNpadAssignmentState"},
815 {329, nullptr, "ApplyHdlsStateList"},
816 {330, nullptr, "AttachHdlsVirtualDevice"},
817 {331, nullptr, "DetachHdlsVirtualDevice"},
818 {332, nullptr, "SetHdlsState"},
806 {350, nullptr, "AddRegisteredDevice"}, 819 {350, nullptr, "AddRegisteredDevice"},
807 {400, nullptr, "DisableExternalMcuOnNxDevice"}, 820 {400, nullptr, "DisableExternalMcuOnNxDevice"},
808 {401, nullptr, "DisableRailDeviceFiltering"}, 821 {401, nullptr, "DisableRailDeviceFiltering"},
@@ -825,6 +838,7 @@ public:
825 {131, nullptr, "ActivateSleepButton"}, 838 {131, nullptr, "ActivateSleepButton"},
826 {141, nullptr, "AcquireCaptureButtonEventHandle"}, 839 {141, nullptr, "AcquireCaptureButtonEventHandle"},
827 {151, nullptr, "ActivateCaptureButton"}, 840 {151, nullptr, "ActivateCaptureButton"},
841 {161, nullptr, "GetPlatformConfig"},
828 {210, nullptr, "AcquireNfcDeviceUpdateEventHandle"}, 842 {210, nullptr, "AcquireNfcDeviceUpdateEventHandle"},
829 {211, nullptr, "GetNpadsWithNfc"}, 843 {211, nullptr, "GetNpadsWithNfc"},
830 {212, nullptr, "AcquireNfcActivateEventHandle"}, 844 {212, nullptr, "AcquireNfcActivateEventHandle"},
@@ -894,6 +908,7 @@ public:
894 {827, nullptr, "IsAnalogStickButtonPressed"}, 908 {827, nullptr, "IsAnalogStickButtonPressed"},
895 {828, nullptr, "IsAnalogStickInReleasePosition"}, 909 {828, nullptr, "IsAnalogStickInReleasePosition"},
896 {829, nullptr, "IsAnalogStickInCircumference"}, 910 {829, nullptr, "IsAnalogStickInCircumference"},
911 {830, nullptr, "SetNotificationLedPattern"},
897 {850, nullptr, "IsUsbFullKeyControllerEnabled"}, 912 {850, nullptr, "IsUsbFullKeyControllerEnabled"},
898 {851, nullptr, "EnableUsbFullKeyController"}, 913 {851, nullptr, "EnableUsbFullKeyController"},
899 {852, nullptr, "IsUsbConnected"}, 914 {852, nullptr, "IsUsbConnected"},
diff --git a/src/core/hle/service/ldn/ldn.cpp b/src/core/hle/service/ldn/ldn.cpp
index e250595e3..ed5059047 100644
--- a/src/core/hle/service/ldn/ldn.cpp
+++ b/src/core/hle/service/ldn/ldn.cpp
@@ -52,9 +52,11 @@ public:
52 } 52 }
53}; 53};
54 54
55class ILocalCommunicationService final : public ServiceFramework<ILocalCommunicationService> { 55class ISystemLocalCommunicationService final
56 : public ServiceFramework<ISystemLocalCommunicationService> {
56public: 57public:
57 explicit ILocalCommunicationService(const char* name) : ServiceFramework{name} { 58 explicit ISystemLocalCommunicationService()
59 : ServiceFramework{"ISystemLocalCommunicationService"} {
58 // clang-format off 60 // clang-format off
59 static const FunctionInfo functions[] = { 61 static const FunctionInfo functions[] = {
60 {0, nullptr, "GetState"}, 62 {0, nullptr, "GetState"},
@@ -84,6 +86,50 @@ public:
84 {304, nullptr, "Disconnect"}, 86 {304, nullptr, "Disconnect"},
85 {400, nullptr, "InitializeSystem"}, 87 {400, nullptr, "InitializeSystem"},
86 {401, nullptr, "FinalizeSystem"}, 88 {401, nullptr, "FinalizeSystem"},
89 {402, nullptr, "SetOperationMode"},
90 {403, nullptr, "InitializeSystem2"},
91 };
92 // clang-format on
93
94 RegisterHandlers(functions);
95 }
96};
97
98class IUserLocalCommunicationService final
99 : public ServiceFramework<IUserLocalCommunicationService> {
100public:
101 explicit IUserLocalCommunicationService() : ServiceFramework{"IUserLocalCommunicationService"} {
102 // clang-format off
103 static const FunctionInfo functions[] = {
104 {0, nullptr, "GetState"},
105 {1, nullptr, "GetNetworkInfo"},
106 {2, nullptr, "GetIpv4Address"},
107 {3, nullptr, "GetDisconnectReason"},
108 {4, nullptr, "GetSecurityParameter"},
109 {5, nullptr, "GetNetworkConfig"},
110 {100, nullptr, "AttachStateChangeEvent"},
111 {101, nullptr, "GetNetworkInfoLatestUpdate"},
112 {102, nullptr, "Scan"},
113 {103, nullptr, "ScanPrivate"},
114 {104, nullptr, "SetWirelessControllerRestriction"},
115 {200, nullptr, "OpenAccessPoint"},
116 {201, nullptr, "CloseAccessPoint"},
117 {202, nullptr, "CreateNetwork"},
118 {203, nullptr, "CreateNetworkPrivate"},
119 {204, nullptr, "DestroyNetwork"},
120 {205, nullptr, "Reject"},
121 {206, nullptr, "SetAdvertiseData"},
122 {207, nullptr, "SetStationAcceptPolicy"},
123 {208, nullptr, "AddAcceptFilterEntry"},
124 {209, nullptr, "ClearAcceptFilter"},
125 {300, nullptr, "OpenStation"},
126 {301, nullptr, "CloseStation"},
127 {302, nullptr, "Connect"},
128 {303, nullptr, "ConnectPrivate"},
129 {304, nullptr, "Disconnect"},
130 {400, nullptr, "Initialize"},
131 {401, nullptr, "Finalize"},
132 {402, nullptr, "SetOperationMode"},
87 }; 133 };
88 // clang-format on 134 // clang-format on
89 135
@@ -108,7 +154,7 @@ public:
108 154
109 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 155 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
110 rb.Push(RESULT_SUCCESS); 156 rb.Push(RESULT_SUCCESS);
111 rb.PushIpcInterface<ILocalCommunicationService>("ISystemLocalCommunicationService"); 157 rb.PushIpcInterface<ISystemLocalCommunicationService>();
112 } 158 }
113}; 159};
114 160
@@ -129,7 +175,7 @@ public:
129 175
130 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 176 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
131 rb.Push(RESULT_SUCCESS); 177 rb.Push(RESULT_SUCCESS);
132 rb.PushIpcInterface<ILocalCommunicationService>("IUserLocalCommunicationService"); 178 rb.PushIpcInterface<IUserLocalCommunicationService>();
133 } 179 }
134}; 180};
135 181
diff --git a/src/core/hle/service/ldr/ldr.cpp b/src/core/hle/service/ldr/ldr.cpp
index d65693fc7..d6fb9524c 100644
--- a/src/core/hle/service/ldr/ldr.cpp
+++ b/src/core/hle/service/ldr/ldr.cpp
@@ -86,6 +86,7 @@ public:
86 {2, &RelocatableObject::LoadNrr, "LoadNrr"}, 86 {2, &RelocatableObject::LoadNrr, "LoadNrr"},
87 {3, &RelocatableObject::UnloadNrr, "UnloadNrr"}, 87 {3, &RelocatableObject::UnloadNrr, "UnloadNrr"},
88 {4, &RelocatableObject::Initialize, "Initialize"}, 88 {4, &RelocatableObject::Initialize, "Initialize"},
89 {10, nullptr, "LoadNrrEx"},
89 }; 90 };
90 // clang-format on 91 // clang-format on
91 92
diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp
index 60479bb45..f92571008 100644
--- a/src/core/hle/service/nifm/nifm.cpp
+++ b/src/core/hle/service/nifm/nifm.cpp
@@ -15,12 +15,16 @@ namespace Service::NIFM {
15class IScanRequest final : public ServiceFramework<IScanRequest> { 15class IScanRequest final : public ServiceFramework<IScanRequest> {
16public: 16public:
17 explicit IScanRequest() : ServiceFramework("IScanRequest") { 17 explicit IScanRequest() : ServiceFramework("IScanRequest") {
18 // clang-format off
18 static const FunctionInfo functions[] = { 19 static const FunctionInfo functions[] = {
19 {0, nullptr, "Submit"}, 20 {0, nullptr, "Submit"},
20 {1, nullptr, "IsProcessing"}, 21 {1, nullptr, "IsProcessing"},
21 {2, nullptr, "GetResult"}, 22 {2, nullptr, "GetResult"},
22 {3, nullptr, "GetSystemEventReadableHandle"}, 23 {3, nullptr, "GetSystemEventReadableHandle"},
24 {4, nullptr, "SetChannels"},
23 }; 25 };
26 // clang-format on
27
24 RegisterHandlers(functions); 28 RegisterHandlers(functions);
25 } 29 }
26}; 30};
diff --git a/src/core/hle/service/npns/npns.cpp b/src/core/hle/service/npns/npns.cpp
index ccb6f9da9..8751522ca 100644
--- a/src/core/hle/service/npns/npns.cpp
+++ b/src/core/hle/service/npns/npns.cpp
@@ -45,7 +45,7 @@ public:
45 {114, nullptr, "AttachJid"}, 45 {114, nullptr, "AttachJid"},
46 {115, nullptr, "DetachJid"}, 46 {115, nullptr, "DetachJid"},
47 {201, nullptr, "RequestChangeStateForceTimed"}, 47 {201, nullptr, "RequestChangeStateForceTimed"},
48 {102, nullptr, "RequestChangeStateForceAsync"}, 48 {202, nullptr, "RequestChangeStateForceAsync"},
49 }; 49 };
50 // clang-format on 50 // clang-format on
51 51
@@ -73,6 +73,7 @@ public:
73 {103, nullptr, "GetState"}, 73 {103, nullptr, "GetState"},
74 {104, nullptr, "GetStatistics"}, 74 {104, nullptr, "GetStatistics"},
75 {111, nullptr, "GetJid"}, 75 {111, nullptr, "GetJid"},
76 {120, nullptr, "CreateNotificationReceiver"},
76 }; 77 };
77 // clang-format on 78 // clang-format on
78 79
diff --git a/src/core/hle/service/pctl/module.cpp b/src/core/hle/service/pctl/module.cpp
index 6081f41e1..c75b4ee34 100644
--- a/src/core/hle/service/pctl/module.cpp
+++ b/src/core/hle/service/pctl/module.cpp
@@ -12,10 +12,10 @@ namespace Service::PCTL {
12class IParentalControlService final : public ServiceFramework<IParentalControlService> { 12class IParentalControlService final : public ServiceFramework<IParentalControlService> {
13public: 13public:
14 IParentalControlService() : ServiceFramework("IParentalControlService") { 14 IParentalControlService() : ServiceFramework("IParentalControlService") {
15 // clang-format off
15 static const FunctionInfo functions[] = { 16 static const FunctionInfo functions[] = {
16 {1, &IParentalControlService::Initialize, "Initialize"}, 17 {1, &IParentalControlService::Initialize, "Initialize"},
17 {1001, &IParentalControlService::CheckFreeCommunicationPermission, 18 {1001, &IParentalControlService::CheckFreeCommunicationPermission, "CheckFreeCommunicationPermission"},
18 "CheckFreeCommunicationPermission"},
19 {1002, nullptr, "ConfirmLaunchApplicationPermission"}, 19 {1002, nullptr, "ConfirmLaunchApplicationPermission"},
20 {1003, nullptr, "ConfirmResumeApplicationPermission"}, 20 {1003, nullptr, "ConfirmResumeApplicationPermission"},
21 {1004, nullptr, "ConfirmSnsPostPermission"}, 21 {1004, nullptr, "ConfirmSnsPostPermission"},
@@ -30,6 +30,7 @@ public:
30 {1013, nullptr, "ConfirmStereoVisionPermission"}, 30 {1013, nullptr, "ConfirmStereoVisionPermission"},
31 {1014, nullptr, "ConfirmPlayableApplicationVideoOld"}, 31 {1014, nullptr, "ConfirmPlayableApplicationVideoOld"},
32 {1015, nullptr, "ConfirmPlayableApplicationVideo"}, 32 {1015, nullptr, "ConfirmPlayableApplicationVideo"},
33 {1016, nullptr, "ConfirmShowNewsPermission"},
33 {1031, nullptr, "IsRestrictionEnabled"}, 34 {1031, nullptr, "IsRestrictionEnabled"},
34 {1032, nullptr, "GetSafetyLevel"}, 35 {1032, nullptr, "GetSafetyLevel"},
35 {1033, nullptr, "SetSafetyLevel"}, 36 {1033, nullptr, "SetSafetyLevel"},
@@ -45,6 +46,7 @@ public:
45 {1045, nullptr, "UpdateFreeCommunicationApplicationList"}, 46 {1045, nullptr, "UpdateFreeCommunicationApplicationList"},
46 {1046, nullptr, "DisableFeaturesForReset"}, 47 {1046, nullptr, "DisableFeaturesForReset"},
47 {1047, nullptr, "NotifyApplicationDownloadStarted"}, 48 {1047, nullptr, "NotifyApplicationDownloadStarted"},
49 {1048, nullptr, "NotifyNetworkProfileCreated"},
48 {1061, nullptr, "ConfirmStereoVisionRestrictionConfigurable"}, 50 {1061, nullptr, "ConfirmStereoVisionRestrictionConfigurable"},
49 {1062, nullptr, "GetStereoVisionRestriction"}, 51 {1062, nullptr, "GetStereoVisionRestriction"},
50 {1063, nullptr, "SetStereoVisionRestriction"}, 52 {1063, nullptr, "SetStereoVisionRestriction"},
@@ -63,6 +65,7 @@ public:
63 {1411, nullptr, "GetPairingAccountInfo"}, 65 {1411, nullptr, "GetPairingAccountInfo"},
64 {1421, nullptr, "GetAccountNickname"}, 66 {1421, nullptr, "GetAccountNickname"},
65 {1424, nullptr, "GetAccountState"}, 67 {1424, nullptr, "GetAccountState"},
68 {1425, nullptr, "RequestPostEvents"},
66 {1432, nullptr, "GetSynchronizationEvent"}, 69 {1432, nullptr, "GetSynchronizationEvent"},
67 {1451, nullptr, "StartPlayTimer"}, 70 {1451, nullptr, "StartPlayTimer"},
68 {1452, nullptr, "StopPlayTimer"}, 71 {1452, nullptr, "StopPlayTimer"},
diff --git a/src/core/hle/service/pm/pm.cpp b/src/core/hle/service/pm/pm.cpp
index 6b27dc4a3..ebcc41a43 100644
--- a/src/core/hle/service/pm/pm.cpp
+++ b/src/core/hle/service/pm/pm.cpp
@@ -42,15 +42,18 @@ private:
42class DebugMonitor final : public ServiceFramework<DebugMonitor> { 42class DebugMonitor final : public ServiceFramework<DebugMonitor> {
43public: 43public:
44 explicit DebugMonitor() : ServiceFramework{"pm:dmnt"} { 44 explicit DebugMonitor() : ServiceFramework{"pm:dmnt"} {
45 // clang-format off
45 static const FunctionInfo functions[] = { 46 static const FunctionInfo functions[] = {
46 {0, nullptr, "IsDebugMode"}, 47 {0, nullptr, "GetDebugProcesses"},
47 {1, nullptr, "GetDebugProcesses"}, 48 {1, nullptr, "StartDebugProcess"},
48 {2, nullptr, "StartDebugProcess"}, 49 {2, nullptr, "GetTitlePid"},
49 {3, nullptr, "GetTitlePid"}, 50 {3, nullptr, "EnableDebugForTitleId"},
50 {4, nullptr, "EnableDebugForTitleId"}, 51 {4, nullptr, "GetApplicationPid"},
51 {5, nullptr, "GetApplicationPid"}, 52 {5, nullptr, "EnableDebugForApplication"},
52 {6, nullptr, "EnableDebugForApplication"}, 53 {6, nullptr, "DisableDebug"},
53 }; 54 };
55 // clang-format on
56
54 RegisterHandlers(functions); 57 RegisterHandlers(functions);
55 } 58 }
56}; 59};
@@ -68,6 +71,7 @@ public:
68class Shell final : public ServiceFramework<Shell> { 71class Shell final : public ServiceFramework<Shell> {
69public: 72public:
70 explicit Shell() : ServiceFramework{"pm:shell"} { 73 explicit Shell() : ServiceFramework{"pm:shell"} {
74 // clang-format off
71 static const FunctionInfo functions[] = { 75 static const FunctionInfo functions[] = {
72 {0, nullptr, "LaunchProcess"}, 76 {0, nullptr, "LaunchProcess"},
73 {1, nullptr, "TerminateProcessByPid"}, 77 {1, nullptr, "TerminateProcessByPid"},
@@ -77,7 +81,10 @@ public:
77 {5, nullptr, "NotifyBootFinished"}, 81 {5, nullptr, "NotifyBootFinished"},
78 {6, nullptr, "GetApplicationPid"}, 82 {6, nullptr, "GetApplicationPid"},
79 {7, nullptr, "BoostSystemMemoryResourceLimit"}, 83 {7, nullptr, "BoostSystemMemoryResourceLimit"},
84 {8, nullptr, "EnableAdditionalSystemThreads"},
80 }; 85 };
86 // clang-format on
87
81 RegisterHandlers(functions); 88 RegisterHandlers(functions);
82 } 89 }
83}; 90};
diff --git a/src/core/hle/service/set/set.cpp b/src/core/hle/service/set/set.cpp
index 1afc43f75..4ecb6bcef 100644
--- a/src/core/hle/service/set/set.cpp
+++ b/src/core/hle/service/set/set.cpp
@@ -116,6 +116,7 @@ void SET::GetLanguageCode(Kernel::HLERequestContext& ctx) {
116} 116}
117 117
118SET::SET() : ServiceFramework("set") { 118SET::SET() : ServiceFramework("set") {
119 // clang-format off
119 static const FunctionInfo functions[] = { 120 static const FunctionInfo functions[] = {
120 {0, &SET::GetLanguageCode, "GetLanguageCode"}, 121 {0, &SET::GetLanguageCode, "GetLanguageCode"},
121 {1, &SET::GetAvailableLanguageCodes, "GetAvailableLanguageCodes"}, 122 {1, &SET::GetAvailableLanguageCodes, "GetAvailableLanguageCodes"},
@@ -126,7 +127,10 @@ SET::SET() : ServiceFramework("set") {
126 {6, &SET::GetAvailableLanguageCodeCount2, "GetAvailableLanguageCodeCount2"}, 127 {6, &SET::GetAvailableLanguageCodeCount2, "GetAvailableLanguageCodeCount2"},
127 {7, nullptr, "GetKeyCodeMap"}, 128 {7, nullptr, "GetKeyCodeMap"},
128 {8, nullptr, "GetQuestFlag"}, 129 {8, nullptr, "GetQuestFlag"},
130 {9, nullptr, "GetKeyCodeMap2"},
129 }; 131 };
132 // clang-format on
133
130 RegisterHandlers(functions); 134 RegisterHandlers(functions);
131} 135}
132 136
diff --git a/src/core/hle/service/set/set_cal.cpp b/src/core/hle/service/set/set_cal.cpp
index 34654bb07..5981c575c 100644
--- a/src/core/hle/service/set/set_cal.cpp
+++ b/src/core/hle/service/set/set_cal.cpp
@@ -40,7 +40,7 @@ SET_CAL::SET_CAL() : ServiceFramework("set:cal") {
40 {30, nullptr, "GetAmiiboEcqvBlsCertificate"}, 40 {30, nullptr, "GetAmiiboEcqvBlsCertificate"},
41 {31, nullptr, "GetAmiiboEcqvBlsRootCertificate"}, 41 {31, nullptr, "GetAmiiboEcqvBlsRootCertificate"},
42 {32, nullptr, "GetUsbTypeCPowerSourceCircuitVersion"}, 42 {32, nullptr, "GetUsbTypeCPowerSourceCircuitVersion"},
43 {33, nullptr, "GetBatteryVersion"}, 43 {41, nullptr, "GetBatteryVersion"},
44 }; 44 };
45 RegisterHandlers(functions); 45 RegisterHandlers(functions);
46} 46}
diff --git a/src/core/hle/service/set/set_sys.cpp b/src/core/hle/service/set/set_sys.cpp
index ecee554bf..98d0cfdfd 100644
--- a/src/core/hle/service/set/set_sys.cpp
+++ b/src/core/hle/service/set/set_sys.cpp
@@ -104,6 +104,7 @@ void SET_SYS::SetColorSetId(Kernel::HLERequestContext& ctx) {
104} 104}
105 105
106SET_SYS::SET_SYS() : ServiceFramework("set:sys") { 106SET_SYS::SET_SYS() : ServiceFramework("set:sys") {
107 // clang-format off
107 static const FunctionInfo functions[] = { 108 static const FunctionInfo functions[] = {
108 {0, nullptr, "SetLanguageCode"}, 109 {0, nullptr, "SetLanguageCode"},
109 {1, nullptr, "SetNetworkSettings"}, 110 {1, nullptr, "SetNetworkSettings"},
@@ -252,7 +253,33 @@ SET_SYS::SET_SYS() : ServiceFramework("set:sys") {
252 {147, nullptr, "GetConsoleSixAxisSensorAngularAcceleration"}, 253 {147, nullptr, "GetConsoleSixAxisSensorAngularAcceleration"},
253 {148, nullptr, "SetConsoleSixAxisSensorAngularAcceleration"}, 254 {148, nullptr, "SetConsoleSixAxisSensorAngularAcceleration"},
254 {149, nullptr, "GetRebootlessSystemUpdateVersion"}, 255 {149, nullptr, "GetRebootlessSystemUpdateVersion"},
256 {150, nullptr, "GetDeviceTimeZoneLocationUpdatedTime"},
257 {151, nullptr, "SetDeviceTimeZoneLocationUpdatedTime"},
258 {152, nullptr, "GetUserSystemClockAutomaticCorrectionUpdatedTime"},
259 {153, nullptr, "SetUserSystemClockAutomaticCorrectionUpdatedTime"},
260 {154, nullptr, "GetAccountOnlineStorageSettings"},
261 {155, nullptr, "SetAccountOnlineStorageSettings"},
262 {156, nullptr, "GetPctlReadyFlag"},
263 {157, nullptr, "SetPctlReadyFlag"},
264 {162, nullptr, "GetPtmBatteryVersion"},
265 {163, nullptr, "SetPtmBatteryVersion"},
266 {164, nullptr, "GetUsb30HostEnableFlag"},
267 {165, nullptr, "SetUsb30HostEnableFlag"},
268 {166, nullptr, "GetUsb30DeviceEnableFlag"},
269 {167, nullptr, "SetUsb30DeviceEnableFlag"},
270 {168, nullptr, "GetThemeId"},
271 {169, nullptr, "SetThemeId"},
272 {170, nullptr, "GetChineseTraditionalInputMethod"},
273 {171, nullptr, "SetChineseTraditionalInputMethod"},
274 {172, nullptr, "GetPtmCycleCountReliability"},
275 {173, nullptr, "SetPtmCycleCountReliability"},
276 {175, nullptr, "GetThemeSettings"},
277 {176, nullptr, "SetThemeSettings"},
278 {177, nullptr, "GetThemeKey"},
279 {178, nullptr, "SetThemeKey"},
255 }; 280 };
281 // clang-format on
282
256 RegisterHandlers(functions); 283 RegisterHandlers(functions);
257} 284}
258 285
diff --git a/src/core/hle/service/sockets/bsd.cpp b/src/core/hle/service/sockets/bsd.cpp
index 4342f3b2d..884ad173b 100644
--- a/src/core/hle/service/sockets/bsd.cpp
+++ b/src/core/hle/service/sockets/bsd.cpp
@@ -73,6 +73,7 @@ void BSD::Close(Kernel::HLERequestContext& ctx) {
73} 73}
74 74
75BSD::BSD(const char* name) : ServiceFramework(name) { 75BSD::BSD(const char* name) : ServiceFramework(name) {
76 // clang-format off
76 static const FunctionInfo functions[] = { 77 static const FunctionInfo functions[] = {
77 {0, &BSD::RegisterClient, "RegisterClient"}, 78 {0, &BSD::RegisterClient, "RegisterClient"},
78 {1, &BSD::StartMonitoring, "StartMonitoring"}, 79 {1, &BSD::StartMonitoring, "StartMonitoring"},
@@ -105,7 +106,11 @@ BSD::BSD(const char* name) : ServiceFramework(name) {
105 {28, nullptr, "GetResourceStatistics"}, 106 {28, nullptr, "GetResourceStatistics"},
106 {29, nullptr, "RecvMMsg"}, 107 {29, nullptr, "RecvMMsg"},
107 {30, nullptr, "SendMMsg"}, 108 {30, nullptr, "SendMMsg"},
109 {31, nullptr, "EventFd"},
110 {32, nullptr, "RegisterResourceStatisticsName"},
108 }; 111 };
112 // clang-format on
113
109 RegisterHandlers(functions); 114 RegisterHandlers(functions);
110} 115}
111 116
diff --git a/src/core/hle/service/ssl/ssl.cpp b/src/core/hle/service/ssl/ssl.cpp
index f7f87a958..65040c077 100644
--- a/src/core/hle/service/ssl/ssl.cpp
+++ b/src/core/hle/service/ssl/ssl.cpp
@@ -103,6 +103,8 @@ public:
103 {4, nullptr, "DebugIoctl"}, 103 {4, nullptr, "DebugIoctl"},
104 {5, &SSL::SetInterfaceVersion, "SetInterfaceVersion"}, 104 {5, &SSL::SetInterfaceVersion, "SetInterfaceVersion"},
105 {6, nullptr, "FlushSessionCache"}, 105 {6, nullptr, "FlushSessionCache"},
106 {7, nullptr, "SetDebugOption"},
107 {8, nullptr, "GetDebugOption"},
106 }; 108 };
107 // clang-format on 109 // clang-format on
108 110
diff --git a/src/core/hle/service/time/interface.cpp b/src/core/hle/service/time/interface.cpp
index b3a196f65..8d122ae33 100644
--- a/src/core/hle/service/time/interface.cpp
+++ b/src/core/hle/service/time/interface.cpp
@@ -8,6 +8,7 @@ namespace Service::Time {
8 8
9Time::Time(std::shared_ptr<Module> time, const char* name) 9Time::Time(std::shared_ptr<Module> time, const char* name)
10 : Module::Interface(std::move(time), name) { 10 : Module::Interface(std::move(time), name) {
11 // clang-format off
11 static const FunctionInfo functions[] = { 12 static const FunctionInfo functions[] = {
12 {0, &Time::GetStandardUserSystemClock, "GetStandardUserSystemClock"}, 13 {0, &Time::GetStandardUserSystemClock, "GetStandardUserSystemClock"},
13 {1, &Time::GetStandardNetworkSystemClock, "GetStandardNetworkSystemClock"}, 14 {1, &Time::GetStandardNetworkSystemClock, "GetStandardNetworkSystemClock"},
@@ -15,18 +16,23 @@ Time::Time(std::shared_ptr<Module> time, const char* name)
15 {3, &Time::GetTimeZoneService, "GetTimeZoneService"}, 16 {3, &Time::GetTimeZoneService, "GetTimeZoneService"},
16 {4, &Time::GetStandardLocalSystemClock, "GetStandardLocalSystemClock"}, 17 {4, &Time::GetStandardLocalSystemClock, "GetStandardLocalSystemClock"},
17 {5, nullptr, "GetEphemeralNetworkSystemClock"}, 18 {5, nullptr, "GetEphemeralNetworkSystemClock"},
19 {20, nullptr, "GetSharedMemoryNativeHandle"},
20 {30, nullptr, "GetStandardNetworkClockOperationEventReadableHandle"},
21 {31, nullptr, "GetEphemeralNetworkClockOperationEventReadableHandle"},
18 {50, nullptr, "SetStandardSteadyClockInternalOffset"}, 22 {50, nullptr, "SetStandardSteadyClockInternalOffset"},
19 {100, nullptr, "IsStandardUserSystemClockAutomaticCorrectionEnabled"}, 23 {100, nullptr, "IsStandardUserSystemClockAutomaticCorrectionEnabled"},
20 {101, nullptr, "SetStandardUserSystemClockAutomaticCorrectionEnabled"}, 24 {101, nullptr, "SetStandardUserSystemClockAutomaticCorrectionEnabled"},
21 {102, nullptr, "GetStandardUserSystemClockInitialYear"}, 25 {102, nullptr, "GetStandardUserSystemClockInitialYear"},
22 {200, nullptr, "IsStandardNetworkSystemClockAccuracySufficient"}, 26 {200, nullptr, "IsStandardNetworkSystemClockAccuracySufficient"},
27 {201, nullptr, "GetStandardUserSystemClockAutomaticCorrectionUpdatedTime"},
23 {300, nullptr, "CalculateMonotonicSystemClockBaseTimePoint"}, 28 {300, nullptr, "CalculateMonotonicSystemClockBaseTimePoint"},
24 {400, &Time::GetClockSnapshot, "GetClockSnapshot"}, 29 {400, &Time::GetClockSnapshot, "GetClockSnapshot"},
25 {401, nullptr, "GetClockSnapshotFromSystemClockContext"}, 30 {401, nullptr, "GetClockSnapshotFromSystemClockContext"},
26 {500, &Time::CalculateStandardUserSystemClockDifferenceByUser, 31 {500, &Time::CalculateStandardUserSystemClockDifferenceByUser, "CalculateStandardUserSystemClockDifferenceByUser"},
27 "CalculateStandardUserSystemClockDifferenceByUser"},
28 {501, nullptr, "CalculateSpanBetween"}, 32 {501, nullptr, "CalculateSpanBetween"},
29 }; 33 };
34 // clang-format on
35
30 RegisterHandlers(functions); 36 RegisterHandlers(functions);
31} 37}
32 38