diff options
| author | 2019-11-12 08:54:58 -0500 | |
|---|---|---|
| committer | 2019-11-12 10:32:56 -0500 | |
| commit | e21b6ff79ddf7109db6f49e503e2c2e59fe466c7 (patch) | |
| tree | 1c9437b9426af14d3af0566be6d385aea85d16a9 /src/core/hle/service/set | |
| parent | Merge pull request #3085 from bunnei/web-token-b64 (diff) | |
| download | yuzu-e21b6ff79ddf7109db6f49e503e2c2e59fe466c7.tar.gz yuzu-e21b6ff79ddf7109db6f49e503e2c2e59fe466c7.tar.xz yuzu-e21b6ff79ddf7109db6f49e503e2c2e59fe466c7.zip | |
service: Update function tables
Keeps the function tables up to date.
Updated based off information from Switchbrew.
Diffstat (limited to 'src/core/hle/service/set')
| -rw-r--r-- | src/core/hle/service/set/set.cpp | 1 | ||||
| -rw-r--r-- | src/core/hle/service/set/set_cal.cpp | 11 | ||||
| -rw-r--r-- | src/core/hle/service/set/set_fd.cpp | 4 | ||||
| -rw-r--r-- | src/core/hle/service/set/set_sys.cpp | 11 |
4 files changed, 27 insertions, 0 deletions
diff --git a/src/core/hle/service/set/set.cpp b/src/core/hle/service/set/set.cpp index b54214421..5bcc0b588 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") { | |||
| 124 | {7, nullptr, "GetKeyCodeMap"}, | 124 | {7, nullptr, "GetKeyCodeMap"}, |
| 125 | {8, &SET::GetQuestFlag, "GetQuestFlag"}, | 125 | {8, &SET::GetQuestFlag, "GetQuestFlag"}, |
| 126 | {9, nullptr, "GetKeyCodeMap2"}, | 126 | {9, nullptr, "GetKeyCodeMap2"}, |
| 127 | {10, nullptr, "GetFirmwareVersionForDebug"}, | ||
| 127 | }; | 128 | }; |
| 128 | // clang-format on | 129 | // clang-format on |
| 129 | 130 | ||
diff --git a/src/core/hle/service/set/set_cal.cpp b/src/core/hle/service/set/set_cal.cpp index 5981c575c..1398a4a48 100644 --- a/src/core/hle/service/set/set_cal.cpp +++ b/src/core/hle/service/set/set_cal.cpp | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | namespace Service::Set { | 7 | namespace Service::Set { |
| 8 | 8 | ||
| 9 | SET_CAL::SET_CAL() : ServiceFramework("set:cal") { | 9 | SET_CAL::SET_CAL() : ServiceFramework("set:cal") { |
| 10 | // clang-format off | ||
| 10 | static const FunctionInfo functions[] = { | 11 | static const FunctionInfo functions[] = { |
| 11 | {0, nullptr, "GetBluetoothBdAddress"}, | 12 | {0, nullptr, "GetBluetoothBdAddress"}, |
| 12 | {1, nullptr, "GetConfigurationId1"}, | 13 | {1, nullptr, "GetConfigurationId1"}, |
| @@ -40,8 +41,18 @@ SET_CAL::SET_CAL() : ServiceFramework("set:cal") { | |||
| 40 | {30, nullptr, "GetAmiiboEcqvBlsCertificate"}, | 41 | {30, nullptr, "GetAmiiboEcqvBlsCertificate"}, |
| 41 | {31, nullptr, "GetAmiiboEcqvBlsRootCertificate"}, | 42 | {31, nullptr, "GetAmiiboEcqvBlsRootCertificate"}, |
| 42 | {32, nullptr, "GetUsbTypeCPowerSourceCircuitVersion"}, | 43 | {32, nullptr, "GetUsbTypeCPowerSourceCircuitVersion"}, |
| 44 | {33, nullptr, "GetAnalogStickModuleTypeL"}, | ||
| 45 | {34, nullptr, "GetAnalogStickModelParameterL"}, | ||
| 46 | {35, nullptr, "GetAnalogStickFactoryCalibrationL"}, | ||
| 47 | {36, nullptr, "GetAnalogStickModuleTypeR"}, | ||
| 48 | {37, nullptr, "GetAnalogStickModelParameterR"}, | ||
| 49 | {38, nullptr, "GetAnalogStickFactoryCalibrationR"}, | ||
| 50 | {39, nullptr, "GetConsoleSixAxisSensorModuleType"}, | ||
| 51 | {40, nullptr, "GetConsoleSixAxisSensorHorizontalOffset"}, | ||
| 43 | {41, nullptr, "GetBatteryVersion"}, | 52 | {41, nullptr, "GetBatteryVersion"}, |
| 44 | }; | 53 | }; |
| 54 | // clang-format on | ||
| 55 | |||
| 45 | RegisterHandlers(functions); | 56 | RegisterHandlers(functions); |
| 46 | } | 57 | } |
| 47 | 58 | ||
diff --git a/src/core/hle/service/set/set_fd.cpp b/src/core/hle/service/set/set_fd.cpp index cac6af86d..565882a31 100644 --- a/src/core/hle/service/set/set_fd.cpp +++ b/src/core/hle/service/set/set_fd.cpp | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | namespace Service::Set { | 7 | namespace Service::Set { |
| 8 | 8 | ||
| 9 | SET_FD::SET_FD() : ServiceFramework("set:fd") { | 9 | SET_FD::SET_FD() : ServiceFramework("set:fd") { |
| 10 | // clang-format off | ||
| 10 | static const FunctionInfo functions[] = { | 11 | static const FunctionInfo functions[] = { |
| 11 | {2, nullptr, "SetSettingsItemValue"}, | 12 | {2, nullptr, "SetSettingsItemValue"}, |
| 12 | {3, nullptr, "ResetSettingsItemValue"}, | 13 | {3, nullptr, "ResetSettingsItemValue"}, |
| @@ -16,7 +17,10 @@ SET_FD::SET_FD() : ServiceFramework("set:fd") { | |||
| 16 | {20, nullptr, "SetWebInspectorFlag"}, | 17 | {20, nullptr, "SetWebInspectorFlag"}, |
| 17 | {21, nullptr, "SetAllowedSslHosts"}, | 18 | {21, nullptr, "SetAllowedSslHosts"}, |
| 18 | {22, nullptr, "SetHostFsMountPoint"}, | 19 | {22, nullptr, "SetHostFsMountPoint"}, |
| 20 | {23, nullptr, "SetMemoryUsageRateFlag"}, | ||
| 19 | }; | 21 | }; |
| 22 | // clang-format on | ||
| 23 | |||
| 20 | RegisterHandlers(functions); | 24 | RegisterHandlers(functions); |
| 21 | } | 25 | } |
| 22 | 26 | ||
diff --git a/src/core/hle/service/set/set_sys.cpp b/src/core/hle/service/set/set_sys.cpp index 98d0cfdfd..b7c9ea74b 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") { | |||
| 273 | {171, nullptr, "SetChineseTraditionalInputMethod"}, | 273 | {171, nullptr, "SetChineseTraditionalInputMethod"}, |
| 274 | {172, nullptr, "GetPtmCycleCountReliability"}, | 274 | {172, nullptr, "GetPtmCycleCountReliability"}, |
| 275 | {173, nullptr, "SetPtmCycleCountReliability"}, | 275 | {173, nullptr, "SetPtmCycleCountReliability"}, |
| 276 | {174, nullptr, "GetHomeMenuScheme"}, | ||
| 276 | {175, nullptr, "GetThemeSettings"}, | 277 | {175, nullptr, "GetThemeSettings"}, |
| 277 | {176, nullptr, "SetThemeSettings"}, | 278 | {176, nullptr, "SetThemeSettings"}, |
| 278 | {177, nullptr, "GetThemeKey"}, | 279 | {177, nullptr, "GetThemeKey"}, |
| 279 | {178, nullptr, "SetThemeKey"}, | 280 | {178, nullptr, "SetThemeKey"}, |
| 281 | {179, nullptr, "GetZoomFlag"}, | ||
| 282 | {180, nullptr, "SetZoomFlag"}, | ||
| 283 | {181, nullptr, "GetT"}, | ||
| 284 | {182, nullptr, "SetT"}, | ||
| 285 | {183, nullptr, "GetPlatformRegion"}, | ||
| 286 | {184, nullptr, "SetPlatformRegion"}, | ||
| 287 | {185, nullptr, "GetHomeMenuSchemeModel"}, | ||
| 288 | {186, nullptr, "GetMemoryUsageRateFlag"}, | ||
| 289 | {187, nullptr, "GetTouchScreenMode"}, | ||
| 290 | {188, nullptr, "SetTouchScreenMode"}, | ||
| 280 | }; | 291 | }; |
| 281 | // clang-format on | 292 | // clang-format on |
| 282 | 293 | ||