summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2015-12-30 21:30:07 -0500
committerGravatar bunnei2015-12-30 21:30:07 -0500
commit085c8f2987aa5fb56de042714be5546a5b6184c9 (patch)
tree4bc9cb1cedab769e82a84b7a77154872da87df57 /src
parentMerge pull request #1316 from lioncash/decode (diff)
parentservices: Update some function tables (diff)
downloadyuzu-085c8f2987aa5fb56de042714be5546a5b6184c9.tar.gz
yuzu-085c8f2987aa5fb56de042714be5546a5b6184c9.tar.xz
yuzu-085c8f2987aa5fb56de042714be5546a5b6184c9.zip
Merge pull request #1310 from lioncash/services
services: Update some function tables
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/act_u.cpp7
-rw-r--r--src/core/hle/service/am/am_net.cpp30
-rw-r--r--src/core/hle/service/am/am_sys.cpp15
-rw-r--r--src/core/hle/service/am/am_u.cpp28
-rw-r--r--src/core/hle/service/apt/apt_s.cpp6
-rw-r--r--src/core/hle/service/apt/apt_u.cpp6
-rw-r--r--src/core/hle/service/boss/boss_u.cpp3
-rw-r--r--src/core/hle/service/cam/cam_u.cpp5
-rw-r--r--src/core/hle/service/csnd_snd.cpp7
-rw-r--r--src/core/hle/service/dsp_dsp.cpp14
-rw-r--r--src/core/hle/service/frd/frd_u.cpp43
-rw-r--r--src/core/hle/service/fs/fs_user.cpp196
-rw-r--r--src/core/hle/service/gsp_lcd.cpp10
-rw-r--r--src/core/hle/service/hid/hid_user.cpp2
-rw-r--r--src/core/hle/service/http_c.cpp10
-rw-r--r--src/core/hle/service/mic_u.cpp10
-rw-r--r--src/core/hle/service/ndm_u.cpp16
-rw-r--r--src/core/hle/service/news/news_s.cpp12
-rw-r--r--src/core/hle/service/nim/nim_s.cpp3
-rw-r--r--src/core/hle/service/ns_s.cpp9
-rw-r--r--src/core/hle/service/nwm_uds.cpp18
-rw-r--r--src/core/hle/service/pm_app.cpp4
-rw-r--r--src/core/hle/service/ptm/ptm_sysm.cpp3
-rw-r--r--src/core/hle/service/ssl_c.cpp4
-rw-r--r--src/core/hle/service/y2r_u.cpp21
25 files changed, 369 insertions, 113 deletions
diff --git a/src/core/hle/service/act_u.cpp b/src/core/hle/service/act_u.cpp
index 57f49c91f..bbe8e1625 100644
--- a/src/core/hle/service/act_u.cpp
+++ b/src/core/hle/service/act_u.cpp
@@ -10,14 +10,15 @@
10 10
11namespace ACT_U { 11namespace ACT_U {
12 12
13// Empty arrays are illegal -- commented out until an entry is added. 13const Interface::FunctionInfo FunctionTable[] = {
14//const Interface::FunctionInfo FunctionTable[] = { }; 14 {0x000600C2, nullptr, "GetAccountDataBlock"},
15};
15 16
16//////////////////////////////////////////////////////////////////////////////////////////////////// 17////////////////////////////////////////////////////////////////////////////////////////////////////
17// Interface class 18// Interface class
18 19
19Interface::Interface() { 20Interface::Interface() {
20 //Register(FunctionTable); 21 Register(FunctionTable);
21} 22}
22 23
23} // namespace 24} // namespace
diff --git a/src/core/hle/service/am/am_net.cpp b/src/core/hle/service/am/am_net.cpp
index aa391f3b2..7515a4e6e 100644
--- a/src/core/hle/service/am/am_net.cpp
+++ b/src/core/hle/service/am/am_net.cpp
@@ -10,6 +10,36 @@ namespace Service {
10namespace AM { 10namespace AM {
11 11
12const Interface::FunctionInfo FunctionTable[] = { 12const Interface::FunctionInfo FunctionTable[] = {
13 {0x00010040, TitleIDListGetTotal, "TitleIDListGetTotal"},
14 {0x00020082, GetTitleIDList, "GetTitleIDList"},
15 {0x00030084, nullptr, "ListTitles"},
16 {0x000400C0, nullptr, "DeleteApplicationTitle"},
17 {0x000500C0, nullptr, "GetTitleProductCode"},
18 {0x00080000, nullptr, "TitleIDListGetTotal3"},
19 {0x00090082, nullptr, "GetTitleIDList3"},
20 {0x000A0000, nullptr, "GetDeviceID"},
21 {0x000D0084, nullptr, "ListTitles2"},
22 {0x00140040, nullptr, "FinishInstallToMedia"},
23 {0x00180080, nullptr, "InitializeTitleDatabase"},
24 {0x00190040, nullptr, "ReloadDBS"},
25 {0x001A00C0, nullptr, "GetDSiWareExportSize"},
26 {0x001B0144, nullptr, "ExportDSiWare"},
27 {0x001C0084, nullptr, "ImportDSiWare"},
28 {0x00230080, nullptr, "TitleIDListGetTotal2"},
29 {0x002400C2, nullptr, "GetTitleIDList2"},
30 {0x04010080, nullptr, "InstallFIRM"},
31 {0x04020040, nullptr, "StartInstallCIADB0"},
32 {0x04030000, nullptr, "StartInstallCIADB1"},
33 {0x04040002, nullptr, "AbortCIAInstall"},
34 {0x04050002, nullptr, "CloseCIAFinalizeInstall"},
35 {0x04060002, nullptr, "CloseCIA"},
36 {0x040700C2, nullptr, "FinalizeTitlesInstall"},
37 {0x04080042, nullptr, "GetCiaFileInfo"},
38 {0x040E00C2, nullptr, "InstallTitlesFinish"},
39 {0x040F0000, nullptr, "InstallNATIVEFIRM"},
40 {0x041000C0, nullptr, "DeleteTitle"},
41 {0x04120000, nullptr, "Initialize"},
42 {0x041700C0, nullptr, "MigrateAGBtoSAV"},
13 {0x08010000, nullptr, "OpenTicket"}, 43 {0x08010000, nullptr, "OpenTicket"},
14 {0x08020002, nullptr, "TicketAbortInstall"}, 44 {0x08020002, nullptr, "TicketAbortInstall"},
15 {0x08030002, nullptr, "TicketFinalizeInstall"}, 45 {0x08030002, nullptr, "TicketFinalizeInstall"},
diff --git a/src/core/hle/service/am/am_sys.cpp b/src/core/hle/service/am/am_sys.cpp
index 864fc14df..715b7b55d 100644
--- a/src/core/hle/service/am/am_sys.cpp
+++ b/src/core/hle/service/am/am_sys.cpp
@@ -12,6 +12,21 @@ namespace AM {
12const Interface::FunctionInfo FunctionTable[] = { 12const Interface::FunctionInfo FunctionTable[] = {
13 {0x00010040, TitleIDListGetTotal, "TitleIDListGetTotal"}, 13 {0x00010040, TitleIDListGetTotal, "TitleIDListGetTotal"},
14 {0x00020082, GetTitleIDList, "GetTitleIDList"}, 14 {0x00020082, GetTitleIDList, "GetTitleIDList"},
15 {0x00030084, nullptr, "ListTitles"},
16 {0x000400C0, nullptr, "DeleteApplicationTitle"},
17 {0x000500C0, nullptr, "GetTitleProductCode"},
18 {0x00080000, nullptr, "TitleIDListGetTotal3"},
19 {0x00090082, nullptr, "GetTitleIDList3"},
20 {0x000A0000, nullptr, "GetDeviceID"},
21 {0x000D0084, nullptr, "ListTitles2"},
22 {0x00140040, nullptr, "FinishInstallToMedia"},
23 {0x00180080, nullptr, "InitializeTitleDatabase"},
24 {0x00190040, nullptr, "ReloadDBS"},
25 {0x001A00C0, nullptr, "GetDSiWareExportSize"},
26 {0x001B0144, nullptr, "ExportDSiWare"},
27 {0x001C0084, nullptr, "ImportDSiWare"},
28 {0x00230080, nullptr, "TitleIDListGetTotal2"},
29 {0x002400C2, nullptr, "GetTitleIDList2"}
15}; 30};
16 31
17AM_SYS_Interface::AM_SYS_Interface() { 32AM_SYS_Interface::AM_SYS_Interface() {
diff --git a/src/core/hle/service/am/am_u.cpp b/src/core/hle/service/am/am_u.cpp
index 6bf84b36b..b1e1ea5e4 100644
--- a/src/core/hle/service/am/am_u.cpp
+++ b/src/core/hle/service/am/am_u.cpp
@@ -12,6 +12,34 @@ namespace AM {
12const Interface::FunctionInfo FunctionTable[] = { 12const Interface::FunctionInfo FunctionTable[] = {
13 {0x00010040, TitleIDListGetTotal, "TitleIDListGetTotal"}, 13 {0x00010040, TitleIDListGetTotal, "TitleIDListGetTotal"},
14 {0x00020082, GetTitleIDList, "GetTitleIDList"}, 14 {0x00020082, GetTitleIDList, "GetTitleIDList"},
15 {0x00030084, nullptr, "ListTitles"},
16 {0x000400C0, nullptr, "DeleteApplicationTitle"},
17 {0x000500C0, nullptr, "GetTitleProductCode"},
18 {0x00080000, nullptr, "TitleIDListGetTotal3"},
19 {0x00090082, nullptr, "GetTitleIDList3"},
20 {0x000A0000, nullptr, "GetDeviceID"},
21 {0x000D0084, nullptr, "ListTitles2"},
22 {0x00140040, nullptr, "FinishInstallToMedia"},
23 {0x00180080, nullptr, "InitializeTitleDatabase"},
24 {0x00190040, nullptr, "ReloadDBS"},
25 {0x001A00C0, nullptr, "GetDSiWareExportSize"},
26 {0x001B0144, nullptr, "ExportDSiWare"},
27 {0x001C0084, nullptr, "ImportDSiWare"},
28 {0x00230080, nullptr, "TitleIDListGetTotal2"},
29 {0x002400C2, nullptr, "GetTitleIDList2"},
30 {0x04010080, nullptr, "InstallFIRM"},
31 {0x04020040, nullptr, "StartInstallCIADB0"},
32 {0x04030000, nullptr, "StartInstallCIADB1"},
33 {0x04040002, nullptr, "AbortCIAInstall"},
34 {0x04050002, nullptr, "CloseCIAFinalizeInstall"},
35 {0x04060002, nullptr, "CloseCIA"},
36 {0x040700C2, nullptr, "FinalizeTitlesInstall"},
37 {0x04080042, nullptr, "GetCiaFileInfo"},
38 {0x040E00C2, nullptr, "InstallTitlesFinish"},
39 {0x040F0000, nullptr, "InstallNATIVEFIRM"},
40 {0x041000C0, nullptr, "DeleteTitle"},
41 {0x04120000, nullptr, "Initialize"},
42 {0x041700C0, nullptr, "MigrateAGBtoSAV"}
15}; 43};
16 44
17AM_U_Interface::AM_U_Interface() { 45AM_U_Interface::AM_U_Interface() {
diff --git a/src/core/hle/service/apt/apt_s.cpp b/src/core/hle/service/apt/apt_s.cpp
index 3ac6ff94f..e5fd9165c 100644
--- a/src/core/hle/service/apt/apt_s.cpp
+++ b/src/core/hle/service/apt/apt_s.cpp
@@ -91,6 +91,12 @@ const Interface::FunctionInfo FunctionTable[] = {
91 {0x004E0000, nullptr, "HardwareResetAsync"}, 91 {0x004E0000, nullptr, "HardwareResetAsync"},
92 {0x004F0080, nullptr, "SetApplicationCpuTimeLimit"}, 92 {0x004F0080, nullptr, "SetApplicationCpuTimeLimit"},
93 {0x00500040, nullptr, "GetApplicationCpuTimeLimit"}, 93 {0x00500040, nullptr, "GetApplicationCpuTimeLimit"},
94 {0x00510080, nullptr, "GetStartupArgument"},
95 {0x00520104, nullptr, "Wrap1"},
96 {0x00530104, nullptr, "Unwrap1"},
97 {0x00580002, nullptr, "GetProgramID"},
98 {0x01010000, nullptr, "CheckNew3DSApp"},
99 {0x01020000, nullptr, "CheckNew3DS"}
94}; 100};
95 101
96APT_S_Interface::APT_S_Interface() { 102APT_S_Interface::APT_S_Interface() {
diff --git a/src/core/hle/service/apt/apt_u.cpp b/src/core/hle/service/apt/apt_u.cpp
index 146bfd595..aba627f54 100644
--- a/src/core/hle/service/apt/apt_u.cpp
+++ b/src/core/hle/service/apt/apt_u.cpp
@@ -92,6 +92,12 @@ const Interface::FunctionInfo FunctionTable[] = {
92 {0x004E0000, nullptr, "HardwareResetAsync"}, 92 {0x004E0000, nullptr, "HardwareResetAsync"},
93 {0x004F0080, SetAppCpuTimeLimit, "SetAppCpuTimeLimit"}, 93 {0x004F0080, SetAppCpuTimeLimit, "SetAppCpuTimeLimit"},
94 {0x00500040, GetAppCpuTimeLimit, "GetAppCpuTimeLimit"}, 94 {0x00500040, GetAppCpuTimeLimit, "GetAppCpuTimeLimit"},
95 {0x00510080, nullptr, "GetStartupArgument"},
96 {0x00520104, nullptr, "Wrap1"},
97 {0x00530104, nullptr, "Unwrap1"},
98 {0x00580002, nullptr, "GetProgramID"},
99 {0x01010000, nullptr, "CheckNew3DSApp"},
100 {0x01020000, nullptr, "CheckNew3DS"}
95}; 101};
96 102
97APT_U_Interface::APT_U_Interface() { 103APT_U_Interface::APT_U_Interface() {
diff --git a/src/core/hle/service/boss/boss_u.cpp b/src/core/hle/service/boss/boss_u.cpp
index ed978b963..9f17711bb 100644
--- a/src/core/hle/service/boss/boss_u.cpp
+++ b/src/core/hle/service/boss/boss_u.cpp
@@ -11,6 +11,9 @@ namespace BOSS {
11 11
12const Interface::FunctionInfo FunctionTable[] = { 12const Interface::FunctionInfo FunctionTable[] = {
13 {0x00020100, nullptr, "GetStorageInfo"}, 13 {0x00020100, nullptr, "GetStorageInfo"},
14 {0x000C0082, nullptr, "UnregisterTask"},
15 {0x001E0042, nullptr, "CancelTask"},
16 {0x00330042, nullptr, "StartBgImmediate"},
14}; 17};
15 18
16BOSS_U_Interface::BOSS_U_Interface() { 19BOSS_U_Interface::BOSS_U_Interface() {
diff --git a/src/core/hle/service/cam/cam_u.cpp b/src/core/hle/service/cam/cam_u.cpp
index 55083e0c7..1c292ea23 100644
--- a/src/core/hle/service/cam/cam_u.cpp
+++ b/src/core/hle/service/cam/cam_u.cpp
@@ -54,12 +54,17 @@ const Interface::FunctionInfo FunctionTable[] = {
54 {0x002A0080, nullptr, "GetLatestVsyncTiming"}, 54 {0x002A0080, nullptr, "GetLatestVsyncTiming"},
55 {0x002B0000, nullptr, "GetStereoCameraCalibrationData"}, 55 {0x002B0000, nullptr, "GetStereoCameraCalibrationData"},
56 {0x002C0400, nullptr, "SetStereoCameraCalibrationData"}, 56 {0x002C0400, nullptr, "SetStereoCameraCalibrationData"},
57 {0x002D00C0, nullptr, "WriteRegisterI2c"},
58 {0x002E00C0, nullptr, "WriteMcuVariableI2c"},
59 {0x002F0080, nullptr, "ReadRegisterI2cExclusive"},
60 {0x00300080, nullptr, "ReadMcuVariableI2cExclusive"},
57 {0x00310180, nullptr, "SetImageQualityCalibrationData"}, 61 {0x00310180, nullptr, "SetImageQualityCalibrationData"},
58 {0x00320000, nullptr, "GetImageQualityCalibrationData"}, 62 {0x00320000, nullptr, "GetImageQualityCalibrationData"},
59 {0x003302C0, nullptr, "SetPackageParameterWithoutContext"}, 63 {0x003302C0, nullptr, "SetPackageParameterWithoutContext"},
60 {0x00340140, nullptr, "SetPackageParameterWithContext"}, 64 {0x00340140, nullptr, "SetPackageParameterWithContext"},
61 {0x003501C0, nullptr, "SetPackageParameterWithContextDetail"}, 65 {0x003501C0, nullptr, "SetPackageParameterWithContextDetail"},
62 {0x00360000, nullptr, "GetSuitableY2rStandardCoefficient"}, 66 {0x00360000, nullptr, "GetSuitableY2rStandardCoefficient"},
67 {0x00370202, nullptr, "PlayShutterSoundWithWave"},
63 {0x00380040, nullptr, "PlayShutterSound"}, 68 {0x00380040, nullptr, "PlayShutterSound"},
64 {0x00390000, nullptr, "DriverInitialize"}, 69 {0x00390000, nullptr, "DriverInitialize"},
65 {0x003A0000, nullptr, "DriverFinalize"}, 70 {0x003A0000, nullptr, "DriverFinalize"},
diff --git a/src/core/hle/service/csnd_snd.cpp b/src/core/hle/service/csnd_snd.cpp
index 669659510..6318bf2a7 100644
--- a/src/core/hle/service/csnd_snd.cpp
+++ b/src/core/hle/service/csnd_snd.cpp
@@ -22,9 +22,10 @@ const Interface::FunctionInfo FunctionTable[] = {
22 {0x00060000, nullptr, "ReleaseSoundChannels"}, 22 {0x00060000, nullptr, "ReleaseSoundChannels"},
23 {0x00070000, nullptr, "AcquireCaptureDevice"}, 23 {0x00070000, nullptr, "AcquireCaptureDevice"},
24 {0x00080040, nullptr, "ReleaseCaptureDevice"}, 24 {0x00080040, nullptr, "ReleaseCaptureDevice"},
25 {0x00090082, nullptr, "FlushDCache"}, 25 {0x00090082, nullptr, "FlushDataCache"},
26 {0x000A0082, nullptr, "StoreDCache"}, 26 {0x000A0082, nullptr, "StoreDataCache"},
27 {0x000B0082, nullptr, "InvalidateDCache"}, 27 {0x000B0082, nullptr, "InvalidateDataCache"},
28 {0x000C0000, nullptr, "Reset"},
28}; 29};
29 30
30//////////////////////////////////////////////////////////////////////////////////////////////////// 31////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/hle/service/dsp_dsp.cpp b/src/core/hle/service/dsp_dsp.cpp
index ce5619069..d6b8d1318 100644
--- a/src/core/hle/service/dsp_dsp.cpp
+++ b/src/core/hle/service/dsp_dsp.cpp
@@ -150,13 +150,13 @@ static void RegisterInterruptEvents(Service::Interface* self) {
150} 150}
151 151
152/** 152/**
153 * DSP_DSP::WriteReg0x10 service function 153 * DSP_DSP::SetSemaphore service function
154 * Inputs: 154 * Inputs:
155 * 1 : Unknown (observed only half word used) 155 * 1 : Unknown (observed only half word used)
156 * Outputs: 156 * Outputs:
157 * 1 : Result of function, 0 on success, otherwise error code 157 * 1 : Result of function, 0 on success, otherwise error code
158 */ 158 */
159static void WriteReg0x10(Service::Interface* self) { 159static void SetSemaphore(Service::Interface* self) {
160 u32* cmd_buff = Kernel::GetCommandBuffer(); 160 u32* cmd_buff = Kernel::GetCommandBuffer();
161 161
162 SignalInterrupt(); 162 SignalInterrupt();
@@ -276,12 +276,17 @@ const Interface::FunctionInfo FunctionTable[] = {
276 {0x00020040, nullptr, "RecvDataIsReady"}, 276 {0x00020040, nullptr, "RecvDataIsReady"},
277 {0x00030080, nullptr, "SendData"}, 277 {0x00030080, nullptr, "SendData"},
278 {0x00040040, nullptr, "SendDataIsEmpty"}, 278 {0x00040040, nullptr, "SendDataIsEmpty"},
279 {0x00070040, WriteReg0x10, "WriteReg0x10"}, 279 {0x000500C2, nullptr, "SendFifoEx"},
280 {0x000600C0, nullptr, "RecvFifoEx"},
281 {0x00070040, SetSemaphore, "SetSemaphore"},
280 {0x00080000, nullptr, "GetSemaphore"}, 282 {0x00080000, nullptr, "GetSemaphore"},
281 {0x00090040, nullptr, "ClearSemaphore"}, 283 {0x00090040, nullptr, "ClearSemaphore"},
284 {0x000A0040, nullptr, "MaskSemaphore"},
282 {0x000B0000, nullptr, "CheckSemaphoreRequest"}, 285 {0x000B0000, nullptr, "CheckSemaphoreRequest"},
283 {0x000C0040, ConvertProcessAddressFromDspDram, "ConvertProcessAddressFromDspDram"}, 286 {0x000C0040, ConvertProcessAddressFromDspDram, "ConvertProcessAddressFromDspDram"},
284 {0x000D0082, WriteProcessPipe, "WriteProcessPipe"}, 287 {0x000D0082, WriteProcessPipe, "WriteProcessPipe"},
288 {0x000E00C0, nullptr, "ReadPipe"},
289 {0x000F0080, nullptr, "GetPipeReadableSize"},
285 {0x001000C0, ReadPipeIfPossible, "ReadPipeIfPossible"}, 290 {0x001000C0, ReadPipeIfPossible, "ReadPipeIfPossible"},
286 {0x001100C2, LoadComponent, "LoadComponent"}, 291 {0x001100C2, LoadComponent, "LoadComponent"},
287 {0x00120000, nullptr, "UnloadComponent"}, 292 {0x00120000, nullptr, "UnloadComponent"},
@@ -295,7 +300,10 @@ const Interface::FunctionInfo FunctionTable[] = {
295 {0x001A0042, nullptr, "SetIirFilterI2S1_cmd1"}, 300 {0x001A0042, nullptr, "SetIirFilterI2S1_cmd1"},
296 {0x001B0042, nullptr, "SetIirFilterI2S1_cmd2"}, 301 {0x001B0042, nullptr, "SetIirFilterI2S1_cmd2"},
297 {0x001C0082, nullptr, "SetIirFilterEQ"}, 302 {0x001C0082, nullptr, "SetIirFilterEQ"},
303 {0x001D00C0, nullptr, "ReadMultiEx_SPI2"},
304 {0x001E00C2, nullptr, "WriteMultiEx_SPI2"},
298 {0x001F0000, GetHeadphoneStatus, "GetHeadphoneStatus"}, 305 {0x001F0000, GetHeadphoneStatus, "GetHeadphoneStatus"},
306 {0x00200040, nullptr, "ForceHeadphoneOut"},
299 {0x00210000, nullptr, "GetIsDspOccupied"}, 307 {0x00210000, nullptr, "GetIsDspOccupied"},
300}; 308};
301 309
diff --git a/src/core/hle/service/frd/frd_u.cpp b/src/core/hle/service/frd/frd_u.cpp
index 3a5897d06..9e70ec901 100644
--- a/src/core/hle/service/frd/frd_u.cpp
+++ b/src/core/hle/service/frd/frd_u.cpp
@@ -11,25 +11,58 @@ namespace FRD {
11 11
12const Interface::FunctionInfo FunctionTable[] = { 12const Interface::FunctionInfo FunctionTable[] = {
13 {0x00010000, nullptr, "HasLoggedIn"}, 13 {0x00010000, nullptr, "HasLoggedIn"},
14 {0x00020000, nullptr, "IsOnline"},
14 {0x00030000, nullptr, "Login"}, 15 {0x00030000, nullptr, "Login"},
15 {0x00040000, nullptr, "Logout"}, 16 {0x00040000, nullptr, "Logout"},
16 {0x00050000, nullptr, "GetFriendKey"}, 17 {0x00050000, nullptr, "GetMyFriendKey"},
18 {0x00060000, nullptr, "GetMyPreference"},
19 {0x00070000, nullptr, "GetMyProfile"},
17 {0x00080000, nullptr, "GetMyPresence"}, 20 {0x00080000, nullptr, "GetMyPresence"},
18 {0x00090000, nullptr, "GetMyScreenName"}, 21 {0x00090000, nullptr, "GetMyScreenName"},
19 {0x00100040, nullptr, "GetPassword"}, 22 {0x000A0000, nullptr, "GetMyMii"},
23 {0x000B0000, nullptr, "GetMyLocalAccountId"},
24 {0x000C0000, nullptr, "GetMyPlayingGame"},
25 {0x000D0000, nullptr, "GetMyFavoriteGame"},
26 {0x000E0000, nullptr, "GetMyNcPrincipalId"},
27 {0x000F0000, nullptr, "GetMyComment"},
28 {0x00100040, nullptr, "GetMyPassword"},
20 {0x00110080, nullptr, "GetFriendKeyList"}, 29 {0x00110080, nullptr, "GetFriendKeyList"},
30 {0x00120042, nullptr, "GetFriendPresence"},
31 {0x00130142, nullptr, "GetFriendScreenName"},
32 {0x00140044, nullptr, "GetFriendMii"},
33 {0x00150042, nullptr, "GetFriendProfile"},
34 {0x00160042, nullptr, "GetFriendRelationship"},
35 {0x00170042, nullptr, "GetFriendAttributeFlags"},
36 {0x00180044, nullptr, "GetFriendPlayingGame"},
21 {0x00190042, nullptr, "GetFriendFavoriteGame"}, 37 {0x00190042, nullptr, "GetFriendFavoriteGame"},
22 {0x001A00C4, nullptr, "GetFriendInfo"}, 38 {0x001A00C4, nullptr, "GetFriendInfo"},
23 {0x001B0080, nullptr, "IsOnFriendList"}, 39 {0x001B0080, nullptr, "IsIncludedInFriendList"},
24 {0x001C0042, nullptr, "DecodeLocalFriendCode"}, 40 {0x001C0042, nullptr, "UnscrambleLocalFriendCode"},
25 {0x001D0002, nullptr, "SetCurrentlyPlayingText"}, 41 {0x001D0002, nullptr, "UpdateGameModeDescription"},
42 {0x001E02C2, nullptr, "UpdateGameMode"},
43 {0x001F0042, nullptr, "SendInvitation"},
44 {0x00200002, nullptr, "AttachToEventNotification"},
45 {0x00210040, nullptr, "SetNotificationMask"},
46 {0x00220040, nullptr, "GetEventNotification"},
26 {0x00230000, nullptr, "GetLastResponseResult"}, 47 {0x00230000, nullptr, "GetLastResponseResult"},
48 {0x00240040, nullptr, "PrincipalIdToFriendCode"},
49 {0x00250080, nullptr, "FriendCodeToPrincipalId"},
50 {0x00260080, nullptr, "IsValidFriendCode"},
27 {0x00270040, nullptr, "ResultToErrorCode"}, 51 {0x00270040, nullptr, "ResultToErrorCode"},
28 {0x00280244, nullptr, "RequestGameAuthentication"}, 52 {0x00280244, nullptr, "RequestGameAuthentication"},
29 {0x00290000, nullptr, "GetGameAuthenticationData"}, 53 {0x00290000, nullptr, "GetGameAuthenticationData"},
30 {0x002A0204, nullptr, "RequestServiceLocator"}, 54 {0x002A0204, nullptr, "RequestServiceLocator"},
31 {0x002B0000, nullptr, "GetServiceLocatorData"}, 55 {0x002B0000, nullptr, "GetServiceLocatorData"},
56 {0x002C0002, nullptr, "DetectNatProperties"},
57 {0x002D0000, nullptr, "GetNatProperties"},
58 {0x002E0000, nullptr, "GetServerTimeInterval"},
59 {0x002F0040, nullptr, "AllowHalfAwake"},
60 {0x00300000, nullptr, "GetServerTypes"},
61 {0x00310082, nullptr, "GetFriendComment"},
32 {0x00320042, nullptr, "SetClientSdkVersion"}, 62 {0x00320042, nullptr, "SetClientSdkVersion"},
63 {0x00330000, nullptr, "GetMyApproachContext"},
64 {0x00340046, nullptr, "AddFriendWithApproach"},
65 {0x00350082, nullptr, "DecryptApproachContext"},
33}; 66};
34 67
35FRD_U_Interface::FRD_U_Interface() { 68FRD_U_Interface::FRD_U_Interface() {
diff --git a/src/core/hle/service/fs/fs_user.cpp b/src/core/hle/service/fs/fs_user.cpp
index b3fa89302..632620a56 100644
--- a/src/core/hle/service/fs/fs_user.cpp
+++ b/src/core/hle/service/fs/fs_user.cpp
@@ -708,96 +708,114 @@ static void GetPriority(Service::Interface* self) {
708} 708}
709 709
710const Interface::FunctionInfo FunctionTable[] = { 710const Interface::FunctionInfo FunctionTable[] = {
711 {0x000100C6, nullptr, "Dummy1"}, 711 {0x000100C6, nullptr, "Dummy1"},
712 {0x040100C4, nullptr, "Control"}, 712 {0x040100C4, nullptr, "Control"},
713 {0x08010002, Initialize, "Initialize"}, 713 {0x08010002, Initialize, "Initialize"},
714 {0x080201C2, OpenFile, "OpenFile"}, 714 {0x080201C2, OpenFile, "OpenFile"},
715 {0x08030204, OpenFileDirectly, "OpenFileDirectly"}, 715 {0x08030204, OpenFileDirectly, "OpenFileDirectly"},
716 {0x08040142, DeleteFile, "DeleteFile"}, 716 {0x08040142, DeleteFile, "DeleteFile"},
717 {0x08050244, RenameFile, "RenameFile"}, 717 {0x08050244, RenameFile, "RenameFile"},
718 {0x08060142, DeleteDirectory, "DeleteDirectory"}, 718 {0x08060142, DeleteDirectory, "DeleteDirectory"},
719 {0x08070142, nullptr, "DeleteDirectoryRecursively"}, 719 {0x08070142, nullptr, "DeleteDirectoryRecursively"},
720 {0x08080202, CreateFile, "CreateFile"}, 720 {0x08080202, CreateFile, "CreateFile"},
721 {0x08090182, CreateDirectory, "CreateDirectory"}, 721 {0x08090182, CreateDirectory, "CreateDirectory"},
722 {0x080A0244, RenameDirectory, "RenameDirectory"}, 722 {0x080A0244, RenameDirectory, "RenameDirectory"},
723 {0x080B0102, OpenDirectory, "OpenDirectory"}, 723 {0x080B0102, OpenDirectory, "OpenDirectory"},
724 {0x080C00C2, OpenArchive, "OpenArchive"}, 724 {0x080C00C2, OpenArchive, "OpenArchive"},
725 {0x080D0144, nullptr, "ControlArchive"}, 725 {0x080D0144, nullptr, "ControlArchive"},
726 {0x080E0080, CloseArchive, "CloseArchive"}, 726 {0x080E0080, CloseArchive, "CloseArchive"},
727 {0x080F0180, FormatThisUserSaveData,"FormatThisUserSaveData"}, 727 {0x080F0180, FormatThisUserSaveData, "FormatThisUserSaveData"},
728 {0x08100200, nullptr, "CreateSystemSaveData"}, 728 {0x08100200, nullptr, "CreateSystemSaveData"},
729 {0x08110040, nullptr, "DeleteSystemSaveData"}, 729 {0x08110040, nullptr, "DeleteSystemSaveData"},
730 {0x08120080, GetFreeBytes, "GetFreeBytes"}, 730 {0x08120080, GetFreeBytes, "GetFreeBytes"},
731 {0x08130000, nullptr, "GetCardType"}, 731 {0x08130000, nullptr, "GetCardType"},
732 {0x08140000, nullptr, "GetSdmcArchiveResource"}, 732 {0x08140000, nullptr, "GetSdmcArchiveResource"},
733 {0x08150000, nullptr, "GetNandArchiveResource"}, 733 {0x08150000, nullptr, "GetNandArchiveResource"},
734 {0x08160000, nullptr, "GetSdmcFatfsErro"}, 734 {0x08160000, nullptr, "GetSdmcFatfsError"},
735 {0x08170000, IsSdmcDetected, "IsSdmcDetected"}, 735 {0x08170000, IsSdmcDetected, "IsSdmcDetected"},
736 {0x08180000, IsSdmcWriteable, "IsSdmcWritable"}, 736 {0x08180000, IsSdmcWriteable, "IsSdmcWritable"},
737 {0x08190042, nullptr, "GetSdmcCid"}, 737 {0x08190042, nullptr, "GetSdmcCid"},
738 {0x081A0042, nullptr, "GetNandCid"}, 738 {0x081A0042, nullptr, "GetNandCid"},
739 {0x081B0000, nullptr, "GetSdmcSpeedInfo"}, 739 {0x081B0000, nullptr, "GetSdmcSpeedInfo"},
740 {0x081C0000, nullptr, "GetNandSpeedInfo"}, 740 {0x081C0000, nullptr, "GetNandSpeedInfo"},
741 {0x081D0042, nullptr, "GetSdmcLog"}, 741 {0x081D0042, nullptr, "GetSdmcLog"},
742 {0x081E0042, nullptr, "GetNandLog"}, 742 {0x081E0042, nullptr, "GetNandLog"},
743 {0x081F0000, nullptr, "ClearSdmcLog"}, 743 {0x081F0000, nullptr, "ClearSdmcLog"},
744 {0x08200000, nullptr, "ClearNandLog"}, 744 {0x08200000, nullptr, "ClearNandLog"},
745 {0x08210000, CardSlotIsInserted, "CardSlotIsInserted"}, 745 {0x08210000, CardSlotIsInserted, "CardSlotIsInserted"},
746 {0x08220000, nullptr, "CardSlotPowerOn"}, 746 {0x08220000, nullptr, "CardSlotPowerOn"},
747 {0x08230000, nullptr, "CardSlotPowerOff"}, 747 {0x08230000, nullptr, "CardSlotPowerOff"},
748 {0x08240000, nullptr, "CardSlotGetCardIFPowerStatus"}, 748 {0x08240000, nullptr, "CardSlotGetCardIFPowerStatus"},
749 {0x08250040, nullptr, "CardNorDirectCommand"}, 749 {0x08250040, nullptr, "CardNorDirectCommand"},
750 {0x08260080, nullptr, "CardNorDirectCommandWithAddress"}, 750 {0x08260080, nullptr, "CardNorDirectCommandWithAddress"},
751 {0x08270082, nullptr, "CardNorDirectRead"}, 751 {0x08270082, nullptr, "CardNorDirectRead"},
752 {0x082800C2, nullptr, "CardNorDirectReadWithAddress"}, 752 {0x082800C2, nullptr, "CardNorDirectReadWithAddress"},
753 {0x08290082, nullptr, "CardNorDirectWrite"}, 753 {0x08290082, nullptr, "CardNorDirectWrite"},
754 {0x082A00C2, nullptr, "CardNorDirectWriteWithAddress"}, 754 {0x082A00C2, nullptr, "CardNorDirectWriteWithAddress"},
755 {0x082B00C2, nullptr, "CardNorDirectRead_4xIO"}, 755 {0x082B00C2, nullptr, "CardNorDirectRead_4xIO"},
756 {0x082C0082, nullptr, "CardNorDirectCpuWriteWithoutVerify"}, 756 {0x082C0082, nullptr, "CardNorDirectCpuWriteWithoutVerify"},
757 {0x082D0040, nullptr, "CardNorDirectSectorEraseWithoutVerify"}, 757 {0x082D0040, nullptr, "CardNorDirectSectorEraseWithoutVerify"},
758 {0x082E0040, nullptr, "GetProductInfo"}, 758 {0x082E0040, nullptr, "GetProductInfo"},
759 {0x082F0040, nullptr, "GetProgramLaunchInfo"}, 759 {0x082F0040, nullptr, "GetProgramLaunchInfo"},
760 {0x08300182, nullptr, "CreateExtSaveData"}, 760 {0x08300182, nullptr, "CreateExtSaveData"},
761 {0x08310180, nullptr, "CreateSharedExtSaveData"}, 761 {0x08310180, nullptr, "CreateSharedExtSaveData"},
762 {0x08320102, nullptr, "ReadExtSaveDataIcon"}, 762 {0x08320102, nullptr, "ReadExtSaveDataIcon"},
763 {0x08330082, nullptr, "EnumerateExtSaveData"}, 763 {0x08330082, nullptr, "EnumerateExtSaveData"},
764 {0x08340082, nullptr, "EnumerateSharedExtSaveData"}, 764 {0x08340082, nullptr, "EnumerateSharedExtSaveData"},
765 {0x08350080, nullptr, "DeleteExtSaveData"}, 765 {0x08350080, nullptr, "DeleteExtSaveData"},
766 {0x08360080, nullptr, "DeleteSharedExtSaveData"}, 766 {0x08360080, nullptr, "DeleteSharedExtSaveData"},
767 {0x08370040, nullptr, "SetCardSpiBaudRate"}, 767 {0x08370040, nullptr, "SetCardSpiBaudRate"},
768 {0x08380040, nullptr, "SetCardSpiBusMode"}, 768 {0x08380040, nullptr, "SetCardSpiBusMode"},
769 {0x08390000, nullptr, "SendInitializeInfoTo9"}, 769 {0x08390000, nullptr, "SendInitializeInfoTo9"},
770 {0x083A0100, nullptr, "GetSpecialContentIndex"}, 770 {0x083A0100, nullptr, "GetSpecialContentIndex"},
771 {0x083B00C2, nullptr, "GetLegacyRomHeader"}, 771 {0x083B00C2, nullptr, "GetLegacyRomHeader"},
772 {0x083C00C2, nullptr, "GetLegacyBannerData"}, 772 {0x083C00C2, nullptr, "GetLegacyBannerData"},
773 {0x083D0100, nullptr, "CheckAuthorityToAccessExtSaveData"}, 773 {0x083D0100, nullptr, "CheckAuthorityToAccessExtSaveData"},
774 {0x083E00C2, nullptr, "QueryTotalQuotaSize"}, 774 {0x083E00C2, nullptr, "QueryTotalQuotaSize"},
775 {0x083F00C0, nullptr, "GetExtDataBlockSize"}, 775 {0x083F00C0, nullptr, "GetExtDataBlockSize"},
776 {0x08400040, nullptr, "AbnegateAccessRight"}, 776 {0x08400040, nullptr, "AbnegateAccessRight"},
777 {0x08410000, nullptr, "DeleteSdmcRoot"}, 777 {0x08410000, nullptr, "DeleteSdmcRoot"},
778 {0x08420040, nullptr, "DeleteAllExtSaveDataOnNand"}, 778 {0x08420040, nullptr, "DeleteAllExtSaveDataOnNand"},
779 {0x08430000, nullptr, "InitializeCtrFileSystem"}, 779 {0x08430000, nullptr, "InitializeCtrFileSystem"},
780 {0x08440000, nullptr, "CreateSeed"}, 780 {0x08440000, nullptr, "CreateSeed"},
781 {0x084500C2, nullptr, "GetFormatInfo"}, 781 {0x084500C2, nullptr, "GetFormatInfo"},
782 {0x08460102, nullptr, "GetLegacyRomHeader2"}, 782 {0x08460102, nullptr, "GetLegacyRomHeader2"},
783 {0x08470180, nullptr, "FormatCtrCardUserSaveData"}, 783 {0x08470180, nullptr, "FormatCtrCardUserSaveData"},
784 {0x08480042, nullptr, "GetSdmcCtrRootPath"}, 784 {0x08480042, nullptr, "GetSdmcCtrRootPath"},
785 {0x08490040, nullptr, "GetArchiveResource"}, 785 {0x08490040, nullptr, "GetArchiveResource"},
786 {0x084A0002, nullptr, "ExportIntegrityVerificationSeed"}, 786 {0x084A0002, nullptr, "ExportIntegrityVerificationSeed"},
787 {0x084B0002, nullptr, "ImportIntegrityVerificationSeed"}, 787 {0x084B0002, nullptr, "ImportIntegrityVerificationSeed"},
788 {0x084C0242, FormatSaveData, "FormatSaveData"}, 788 {0x084C0242, FormatSaveData, "FormatSaveData"},
789 {0x084D0102, nullptr, "GetLegacySubBannerData"}, 789 {0x084D0102, nullptr, "GetLegacySubBannerData"},
790 {0x084E0342, nullptr, "UpdateSha256Context"}, 790 {0x084E0342, nullptr, "UpdateSha256Context"},
791 {0x084F0102, nullptr, "ReadSpecialFile"}, 791 {0x084F0102, nullptr, "ReadSpecialFile"},
792 {0x08500040, nullptr, "GetSpecialFileSize"}, 792 {0x08500040, nullptr, "GetSpecialFileSize"},
793 {0x08510242, CreateExtSaveData, "CreateExtSaveData"}, 793 {0x08510242, CreateExtSaveData, "CreateExtSaveData"},
794 {0x08520100, DeleteExtSaveData, "DeleteExtSaveData"}, 794 {0x08520100, DeleteExtSaveData, "DeleteExtSaveData"},
795 {0x08560240, CreateSystemSaveData, "CreateSystemSaveData"}, 795 {0x08530142, nullptr, "ReadExtSaveDataIcon"},
796 {0x08570080, DeleteSystemSaveData, "DeleteSystemSaveData"}, 796 {0x085400C0, nullptr, "GetExtDataBlockSize"},
797 {0x08580000, nullptr, "GetMovableSedHashedKeyYRandomData"}, 797 {0x08550102, nullptr, "EnumerateExtSaveData"},
798 {0x08560240, CreateSystemSaveData, "CreateSystemSaveData"},
799 {0x08570080, DeleteSystemSaveData, "DeleteSystemSaveData"},
800 {0x08580000, nullptr, "StartDeviceMoveAsSource"},
801 {0x08590200, nullptr, "StartDeviceMoveAsDestination"},
802 {0x085A00C0, nullptr, "SetArchivePriority"},
803 {0x085B0080, nullptr, "GetArchivePriority"},
804 {0x085C00C0, nullptr, "SetCtrCardLatencyParameter"},
805 {0x085D01C0, nullptr, "SetFsCompatibilityInfo"},
806 {0x085E0040, nullptr, "ResetCardCompatibilityParameter"},
807 {0x085F0040, nullptr, "SwitchCleanupInvalidSaveData"},
808 {0x08600042, nullptr, "EnumerateSystemSaveData"},
798 {0x08610042, InitializeWithSdkVersion, "InitializeWithSdkVersion"}, 809 {0x08610042, InitializeWithSdkVersion, "InitializeWithSdkVersion"},
799 {0x08620040, SetPriority, "SetPriority"}, 810 {0x08620040, SetPriority, "SetPriority"},
800 {0x08630000, GetPriority, "GetPriority"}, 811 {0x08630000, GetPriority, "GetPriority"},
812 {0x08640000, nullptr, "GetNandInfo"},
813 {0x08650140, nullptr, "SetSaveDataSecureValue"},
814 {0x086600C0, nullptr, "GetSaveDataSecureValue"},
815 {0x086700C4, nullptr, "ControlSecureSave"},
816 {0x08680000, nullptr, "GetMediaType"},
817 {0x08690000, nullptr, "GetNandEraseCount"},
818 {0x086A0082, nullptr, "ReadNandReport"}
801}; 819};
802 820
803//////////////////////////////////////////////////////////////////////////////////////////////////// 821////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/hle/service/gsp_lcd.cpp b/src/core/hle/service/gsp_lcd.cpp
index 9e36732b4..59ee9b73c 100644
--- a/src/core/hle/service/gsp_lcd.cpp
+++ b/src/core/hle/service/gsp_lcd.cpp
@@ -11,14 +11,18 @@
11 11
12namespace GSP_LCD { 12namespace GSP_LCD {
13 13
14/*const Interface::FunctionInfo FunctionTable[] = { 14const Interface::FunctionInfo FunctionTable[] = {
15};*/ 15 {0x000F0000, nullptr, "PowerOnAllBacklights"},
16 {0x00100000, nullptr, "PowerOffAllBacklights"},
17 {0x00110040, nullptr, "PowerOnBacklight"},
18 {0x00120040, nullptr, "PowerOffBacklight"},
19};
16 20
17//////////////////////////////////////////////////////////////////////////////////////////////////// 21////////////////////////////////////////////////////////////////////////////////////////////////////
18// Interface class 22// Interface class
19 23
20Interface::Interface() { 24Interface::Interface() {
21 //Register(FunctionTable); 25 Register(FunctionTable);
22} 26}
23 27
24} // namespace 28} // namespace
diff --git a/src/core/hle/service/hid/hid_user.cpp b/src/core/hle/service/hid/hid_user.cpp
index fbfb9e885..e103881b1 100644
--- a/src/core/hle/service/hid/hid_user.cpp
+++ b/src/core/hle/service/hid/hid_user.cpp
@@ -11,6 +11,8 @@ namespace HID {
11 11
12const Interface::FunctionInfo FunctionTable[] = { 12const Interface::FunctionInfo FunctionTable[] = {
13 {0x000A0000, GetIPCHandles, "GetIPCHandles"}, 13 {0x000A0000, GetIPCHandles, "GetIPCHandles"},
14 {0x000B0000, nullptr, "StartAnalogStickCalibration"},
15 {0x000E0000, nullptr, "GetAnalogStickCalibrateParam"},
14 {0x00110000, EnableAccelerometer, "EnableAccelerometer"}, 16 {0x00110000, EnableAccelerometer, "EnableAccelerometer"},
15 {0x00120000, DisableAccelerometer, "DisableAccelerometer"}, 17 {0x00120000, DisableAccelerometer, "DisableAccelerometer"},
16 {0x00130000, EnableGyroscopeLow, "EnableGyroscopeLow"}, 18 {0x00130000, EnableGyroscopeLow, "EnableGyroscopeLow"},
diff --git a/src/core/hle/service/http_c.cpp b/src/core/hle/service/http_c.cpp
index 0a3aba0a0..43d8a3b85 100644
--- a/src/core/hle/service/http_c.cpp
+++ b/src/core/hle/service/http_c.cpp
@@ -47,10 +47,18 @@ const Interface::FunctionInfo FunctionTable[] = {
47 {0x00220040, nullptr, "GetResponseStatusCode"}, 47 {0x00220040, nullptr, "GetResponseStatusCode"},
48 {0x002300C0, nullptr, "GetResponseStatusCodeTimeout"}, 48 {0x002300C0, nullptr, "GetResponseStatusCodeTimeout"},
49 {0x00240082, nullptr, "AddTrustedRootCA"}, 49 {0x00240082, nullptr, "AddTrustedRootCA"},
50 {0x00250080, nullptr, "AddDefaultCert"},
51 {0x00260080, nullptr, "SelectRootCertChain"},
52 {0x002700C4, nullptr, "SetClientCert"},
53 {0x002D0000, nullptr, "CreateRootCertChain"},
54 {0x002E0040, nullptr, "DestroyRootCertChain"},
55 {0x002F0082, nullptr, "RootCertChainAddCert"},
56 {0x00300080, nullptr, "RootCertChainAddDefaultCert"},
50 {0x00350186, nullptr, "SetDefaultProxy"}, 57 {0x00350186, nullptr, "SetDefaultProxy"},
51 {0x00360000, nullptr, "ClearDNSCache"}, 58 {0x00360000, nullptr, "ClearDNSCache"},
52 {0x00370080, nullptr, "SetKeepAlive"}, 59 {0x00370080, nullptr, "SetKeepAlive"},
53 {0x003800C0, nullptr, "Finalize"}, 60 {0x003800C0, nullptr, "SetPostDataTypeSize"},
61 {0x00390000, nullptr, "Finalize"},
54}; 62};
55 63
56//////////////////////////////////////////////////////////////////////////////////////////////////// 64////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/hle/service/mic_u.cpp b/src/core/hle/service/mic_u.cpp
index 25e70d321..1f27e9c1f 100644
--- a/src/core/hle/service/mic_u.cpp
+++ b/src/core/hle/service/mic_u.cpp
@@ -18,14 +18,14 @@ const Interface::FunctionInfo FunctionTable[] = {
18 {0x00050000, nullptr, "StopSampling"}, 18 {0x00050000, nullptr, "StopSampling"},
19 {0x00060000, nullptr, "IsSampling"}, 19 {0x00060000, nullptr, "IsSampling"},
20 {0x00070000, nullptr, "GetEventHandle"}, 20 {0x00070000, nullptr, "GetEventHandle"},
21 {0x00080040, nullptr, "SetControl"}, 21 {0x00080040, nullptr, "SetGain"},
22 {0x00090000, nullptr, "GetControl"}, 22 {0x00090000, nullptr, "GetGain"},
23 {0x000A0040, nullptr, "SetBias"}, 23 {0x000A0040, nullptr, "SetPower"},
24 {0x000B0000, nullptr, "GetBias"}, 24 {0x000B0000, nullptr, "GetPower"},
25 {0x000C0042, nullptr, "size"}, 25 {0x000C0042, nullptr, "size"},
26 {0x000D0040, nullptr, "SetClamp"}, 26 {0x000D0040, nullptr, "SetClamp"},
27 {0x000E0000, nullptr, "GetClamp"}, 27 {0x000E0000, nullptr, "GetClamp"},
28 {0x000F0040, nullptr, "unknown_input1"}, 28 {0x000F0040, nullptr, "SetAllowShellClosed"},
29 {0x00100040, nullptr, "unknown_input2"}, 29 {0x00100040, nullptr, "unknown_input2"},
30}; 30};
31 31
diff --git a/src/core/hle/service/ndm_u.cpp b/src/core/hle/service/ndm_u.cpp
index df3c97193..ad247fd1f 100644
--- a/src/core/hle/service/ndm_u.cpp
+++ b/src/core/hle/service/ndm_u.cpp
@@ -14,10 +14,26 @@ const Interface::FunctionInfo FunctionTable[] = {
14 {0x00010042, nullptr, "EnterExclusiveState"}, 14 {0x00010042, nullptr, "EnterExclusiveState"},
15 {0x00020002, nullptr, "LeaveExclusiveState"}, 15 {0x00020002, nullptr, "LeaveExclusiveState"},
16 {0x00030000, nullptr, "QueryExclusiveMode"}, 16 {0x00030000, nullptr, "QueryExclusiveMode"},
17 {0x00040002, nullptr, "LockState"},
18 {0x00050002, nullptr, "UnlockState"},
17 {0x00060040, nullptr, "SuspendDaemons"}, 19 {0x00060040, nullptr, "SuspendDaemons"},
20 {0x00070040, nullptr, "ResumeDaemons"},
18 {0x00080040, nullptr, "DisableWifiUsage"}, 21 {0x00080040, nullptr, "DisableWifiUsage"},
19 {0x00090000, nullptr, "EnableWifiUsage"}, 22 {0x00090000, nullptr, "EnableWifiUsage"},
23 {0x000A0000, nullptr, "GetCurrentState"},
24 {0x000B0000, nullptr, "GetTargetState"},
25 {0x000C0000, nullptr, "<Stubbed>"},
26 {0x000D0040, nullptr, "QueryStatus"},
27 {0x000E0040, nullptr, "GetDaemonDisableCount"},
28 {0x000F0000, nullptr, "GetSchedulerDisableCount"},
29 {0x00100040, nullptr, "SetScanInterval"},
30 {0x00110000, nullptr, "GetScanInterval"},
31 {0x00120040, nullptr, "SetRetryInterval"},
32 {0x00130000, nullptr, "GetRetryInterval"},
20 {0x00140040, nullptr, "OverrideDefaultDaemons"}, 33 {0x00140040, nullptr, "OverrideDefaultDaemons"},
34 {0x00150000, nullptr, "ResetDefaultDaemons"},
35 {0x00160000, nullptr, "GetDefaultDaemons"},
36 {0x00170000, nullptr, "ClearHalfAwakeMacFilter"},
21}; 37};
22 38
23//////////////////////////////////////////////////////////////////////////////////////////////////// 39////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/hle/service/news/news_s.cpp b/src/core/hle/service/news/news_s.cpp
index 2f8c37d9e..5b8db3288 100644
--- a/src/core/hle/service/news/news_s.cpp
+++ b/src/core/hle/service/news/news_s.cpp
@@ -11,6 +11,18 @@ namespace NEWS {
11 11
12const Interface::FunctionInfo FunctionTable[] = { 12const Interface::FunctionInfo FunctionTable[] = {
13 {0x000100C6, nullptr, "AddNotification"}, 13 {0x000100C6, nullptr, "AddNotification"},
14 {0x00050000, nullptr, "GetTotalNotifications"},
15 {0x00060042, nullptr, "SetNewsDBHeader"},
16 {0x00070082, nullptr, "SetNotificationHeader"},
17 {0x00080082, nullptr, "SetNotificationMessage"},
18 {0x00090082, nullptr, "SetNotificationImage"},
19 {0x000A0042, nullptr, "GetNewsDBHeader"},
20 {0x000B0082, nullptr, "GetNotificationHeader"},
21 {0x000C0082, nullptr, "GetNotificationMessage"},
22 {0x000D0082, nullptr, "GetNotificationImage"},
23 {0x000E0040, nullptr, "SetInfoLEDPattern"},
24 {0x00120082, nullptr, "GetNotificationHeaderOther"},
25 {0x00130000, nullptr, "WriteNewsDBSavedata"},
14}; 26};
15 27
16NEWS_S_Interface::NEWS_S_Interface() { 28NEWS_S_Interface::NEWS_S_Interface() {
diff --git a/src/core/hle/service/nim/nim_s.cpp b/src/core/hle/service/nim/nim_s.cpp
index 5d8bc059f..1172770ac 100644
--- a/src/core/hle/service/nim/nim_s.cpp
+++ b/src/core/hle/service/nim/nim_s.cpp
@@ -11,6 +11,9 @@ namespace NIM {
11 11
12const Interface::FunctionInfo FunctionTable[] = { 12const Interface::FunctionInfo FunctionTable[] = {
13 {0x000A0000, nullptr, "CheckSysupdateAvailableSOAP"}, 13 {0x000A0000, nullptr, "CheckSysupdateAvailableSOAP"},
14 {0x0016020A, nullptr, "ListTitles"},
15 {0x002D0042, nullptr, "DownloadTickets"},
16 {0x00420240, nullptr, "StartDownload"},
14}; 17};
15 18
16NIM_S_Interface::NIM_S_Interface() { 19NIM_S_Interface::NIM_S_Interface() {
diff --git a/src/core/hle/service/ns_s.cpp b/src/core/hle/service/ns_s.cpp
index 6b3ef6ece..99e8e0880 100644
--- a/src/core/hle/service/ns_s.cpp
+++ b/src/core/hle/service/ns_s.cpp
@@ -12,7 +12,16 @@
12namespace NS_S { 12namespace NS_S {
13 13
14const Interface::FunctionInfo FunctionTable[] = { 14const Interface::FunctionInfo FunctionTable[] = {
15 {0x000100C0, nullptr, "LaunchFIRM"},
15 {0x000200C0, nullptr, "LaunchTitle"}, 16 {0x000200C0, nullptr, "LaunchTitle"},
17 {0x000500C0, nullptr, "LaunchApplicationFIRM"},
18 {0x00060042, nullptr, "SetFIRMParams4A0"},
19 {0x00070042, nullptr, "CardUpdateInitialize"},
20 {0x000D0140, nullptr, "SetFIRMParams4B0"},
21 {0x000E0000, nullptr, "ShutdownAsync"},
22 {0x00100180, nullptr, "RebootSystem"},
23 {0x00150140, nullptr, "LaunchApplication"},
24 {0x00160000, nullptr, "HardRebootSystem"},
16}; 25};
17 26
18//////////////////////////////////////////////////////////////////////////////////////////////////// 27////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/hle/service/nwm_uds.cpp b/src/core/hle/service/nwm_uds.cpp
index 18b22956f..adca64a3a 100644
--- a/src/core/hle/service/nwm_uds.cpp
+++ b/src/core/hle/service/nwm_uds.cpp
@@ -106,14 +106,32 @@ static void Initialize(Service::Interface* self) {
106} 106}
107 107
108const Interface::FunctionInfo FunctionTable[] = { 108const Interface::FunctionInfo FunctionTable[] = {
109 {0x00020000, nullptr, "Scrap"},
109 {0x00030000, Shutdown, "Shutdown"}, 110 {0x00030000, Shutdown, "Shutdown"},
111 {0x00040402, nullptr, "CreateNetwork"},
112 {0x00050040, nullptr, "EjectClient"},
113 {0x00060000, nullptr, "EjectSpectator"},
114 {0x00070080, nullptr, "UpdateNetworkAttribute"},
115 {0x00080000, nullptr, "DestroyNetwork"},
116 {0x000A0000, nullptr, "DisconnectNetwork"},
117 {0x000B0000, nullptr, "GetConnectionStatus"},
118 {0x000D0040, nullptr, "GetNodeInformation"},
110 {0x000F0404, RecvBeaconBroadcastData, "RecvBeaconBroadcastData"}, 119 {0x000F0404, RecvBeaconBroadcastData, "RecvBeaconBroadcastData"},
111 {0x00100042, nullptr, "SetBeaconAdditionalData"}, 120 {0x00100042, nullptr, "SetBeaconAdditionalData"},
121 {0x00110040, nullptr, "GetApplicationData"},
122 {0x00120100, nullptr, "Bind"},
123 {0x00130040, nullptr, "Unbind"},
112 {0x001400C0, nullptr, "RecvBroadcastDataFrame"}, 124 {0x001400C0, nullptr, "RecvBroadcastDataFrame"},
125 {0x00150080, nullptr, "SetMaxSendDelay"},
126 {0x00170182, nullptr, "SendTo"},
127 {0x001A0000, nullptr, "GetChannel"},
113 {0x001B0302, Initialize, "Initialize"}, 128 {0x001B0302, Initialize, "Initialize"},
114 {0x001D0044, nullptr, "BeginHostingNetwork"}, 129 {0x001D0044, nullptr, "BeginHostingNetwork"},
115 {0x001E0084, nullptr, "ConnectToNetwork"}, 130 {0x001E0084, nullptr, "ConnectToNetwork"},
116 {0x001F0006, nullptr, "DecryptBeaconData"}, 131 {0x001F0006, nullptr, "DecryptBeaconData"},
132 {0x00200040, nullptr, "Flush"},
133 {0x00210080, nullptr, "SetProbeResponseParam"},
134 {0x00220402, nullptr, "ScanOnConnection"},
117}; 135};
118 136
119//////////////////////////////////////////////////////////////////////////////////////////////////// 137////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/hle/service/pm_app.cpp b/src/core/hle/service/pm_app.cpp
index 7420a62f4..48646ed72 100644
--- a/src/core/hle/service/pm_app.cpp
+++ b/src/core/hle/service/pm_app.cpp
@@ -19,6 +19,10 @@ const Interface::FunctionInfo FunctionTable[] = {
19 {0x00070042, nullptr, "GetFIRMLaunchParams"}, 19 {0x00070042, nullptr, "GetFIRMLaunchParams"},
20 {0x00080100, nullptr, "GetTitleExheaderFlags"}, 20 {0x00080100, nullptr, "GetTitleExheaderFlags"},
21 {0x00090042, nullptr, "SetFIRMLaunchParams"}, 21 {0x00090042, nullptr, "SetFIRMLaunchParams"},
22 {0x000A0140, nullptr, "SetResourceLimit"},
23 {0x000B0140, nullptr, "GetResourceLimitMax"},
24 {0x000C0080, nullptr, "UnregisterProcess"},
25 {0x000D0240, nullptr, "LaunchTitleUpdate"},
22}; 26};
23 27
24//////////////////////////////////////////////////////////////////////////////////////////////////// 28////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/hle/service/ptm/ptm_sysm.cpp b/src/core/hle/service/ptm/ptm_sysm.cpp
index 655658f3b..3ecfab05c 100644
--- a/src/core/hle/service/ptm/ptm_sysm.cpp
+++ b/src/core/hle/service/ptm/ptm_sysm.cpp
@@ -39,7 +39,8 @@ const Interface::FunctionInfo FunctionTable[] = {
39 {0x08110000, nullptr, "GetShellStatus"}, 39 {0x08110000, nullptr, "GetShellStatus"},
40 {0x08120000, nullptr, "IsShutdownByBatteryEmpty"}, 40 {0x08120000, nullptr, "IsShutdownByBatteryEmpty"},
41 {0x08130000, nullptr, "FormatSavedata"}, 41 {0x08130000, nullptr, "FormatSavedata"},
42 {0x08140000, nullptr, "GetLegacyJumpProhibitedFlag"} 42 {0x08140000, nullptr, "GetLegacyJumpProhibitedFlag"},
43 {0x08180040, nullptr, "ConfigureNew3DSCPU"},
43}; 44};
44 45
45PTM_Sysm_Interface::PTM_Sysm_Interface() { 46PTM_Sysm_Interface::PTM_Sysm_Interface() {
diff --git a/src/core/hle/service/ssl_c.cpp b/src/core/hle/service/ssl_c.cpp
index cabd18c80..9ecb72c77 100644
--- a/src/core/hle/service/ssl_c.cpp
+++ b/src/core/hle/service/ssl_c.cpp
@@ -62,10 +62,14 @@ static void GenerateRandomData(Service::Interface* self) {
62const Interface::FunctionInfo FunctionTable[] = { 62const Interface::FunctionInfo FunctionTable[] = {
63 {0x00010002, Initialize, "Initialize"}, 63 {0x00010002, Initialize, "Initialize"},
64 {0x000200C2, nullptr, "CreateContext"}, 64 {0x000200C2, nullptr, "CreateContext"},
65 {0x00030000, nullptr, "CreateRootCertChain"},
66 {0x00040040, nullptr, "DestroyRootCertChain"},
65 {0x00050082, nullptr, "AddTrustedRootCA"}, 67 {0x00050082, nullptr, "AddTrustedRootCA"},
68 {0x00060080, nullptr, "RootCertChainAddDefaultCert"},
66 {0x00110042, GenerateRandomData, "GenerateRandomData"}, 69 {0x00110042, GenerateRandomData, "GenerateRandomData"},
67 {0x00150082, nullptr, "Read"}, 70 {0x00150082, nullptr, "Read"},
68 {0x00170082, nullptr, "Write"}, 71 {0x00170082, nullptr, "Write"},
72 {0x00180080, nullptr, "ContextSetRootCertChain"},
69}; 73};
70 74
71//////////////////////////////////////////////////////////////////////////////////////////////////// 75////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/hle/service/y2r_u.cpp b/src/core/hle/service/y2r_u.cpp
index 0429927f2..69d0bf4a3 100644
--- a/src/core/hle/service/y2r_u.cpp
+++ b/src/core/hle/service/y2r_u.cpp
@@ -375,21 +375,41 @@ static void DriverFinalize(Service::Interface* self) {
375 375
376const Interface::FunctionInfo FunctionTable[] = { 376const Interface::FunctionInfo FunctionTable[] = {
377 {0x00010040, SetInputFormat, "SetInputFormat"}, 377 {0x00010040, SetInputFormat, "SetInputFormat"},
378 {0x00020000, nullptr, "GetInputFormat"},
378 {0x00030040, SetOutputFormat, "SetOutputFormat"}, 379 {0x00030040, SetOutputFormat, "SetOutputFormat"},
380 {0x00040000, nullptr, "GetOutputFormat"},
379 {0x00050040, SetRotation, "SetRotation"}, 381 {0x00050040, SetRotation, "SetRotation"},
382 {0x00060000, nullptr, "GetRotation"},
380 {0x00070040, SetBlockAlignment, "SetBlockAlignment"}, 383 {0x00070040, SetBlockAlignment, "SetBlockAlignment"},
384 {0x00080000, nullptr, "GetBlockAlignment"},
385 {0x00090040, nullptr, "SetSpacialDithering"},
386 {0x000A0000, nullptr, "GetSpacialDithering"},
387 {0x000B0040, nullptr, "SetTemporalDithering"},
388 {0x000C0000, nullptr, "GetTemporalDithering"},
381 {0x000D0040, SetTransferEndInterrupt, "SetTransferEndInterrupt"}, 389 {0x000D0040, SetTransferEndInterrupt, "SetTransferEndInterrupt"},
382 {0x000F0000, GetTransferEndEvent, "GetTransferEndEvent"}, 390 {0x000F0000, GetTransferEndEvent, "GetTransferEndEvent"},
383 {0x00100102, SetSendingY, "SetSendingY"}, 391 {0x00100102, SetSendingY, "SetSendingY"},
384 {0x00110102, SetSendingU, "SetSendingU"}, 392 {0x00110102, SetSendingU, "SetSendingU"},
385 {0x00120102, SetSendingV, "SetSendingV"}, 393 {0x00120102, SetSendingV, "SetSendingV"},
386 {0x00130102, SetSendingYUYV, "SetSendingYUYV"}, 394 {0x00130102, SetSendingYUYV, "SetSendingYUYV"},
395 {0x00140000, nullptr, "IsFinishedSendingYuv"},
396 {0x00150000, nullptr, "IsFinishedSendingY"},
397 {0x00160000, nullptr, "IsFinishedSendingU"},
398 {0x00170000, nullptr, "IsFinishedSendingV"},
387 {0x00180102, SetReceiving, "SetReceiving"}, 399 {0x00180102, SetReceiving, "SetReceiving"},
400 {0x00190000, nullptr, "IsFinishedReceiving"},
388 {0x001A0040, SetInputLineWidth, "SetInputLineWidth"}, 401 {0x001A0040, SetInputLineWidth, "SetInputLineWidth"},
402 {0x001B0000, nullptr, "GetInputLineWidth"},
389 {0x001C0040, SetInputLines, "SetInputLines"}, 403 {0x001C0040, SetInputLines, "SetInputLines"},
404 {0x001D0000, nullptr, "GetInputLines"},
390 {0x001E0100, SetCoefficient, "SetCoefficient"}, 405 {0x001E0100, SetCoefficient, "SetCoefficient"},
406 {0x001F0000, nullptr, "GetCoefficient"},
391 {0x00200040, SetStandardCoefficient, "SetStandardCoefficient"}, 407 {0x00200040, SetStandardCoefficient, "SetStandardCoefficient"},
408 {0x00210040, nullptr, "GetStandardCoefficientParams"},
392 {0x00220040, SetAlpha, "SetAlpha"}, 409 {0x00220040, SetAlpha, "SetAlpha"},
410 {0x00230000, nullptr, "GetAlpha"},
411 {0x00240200, nullptr, "SetDitheringWeightParams"},
412 {0x00250000, nullptr, "GetDitheringWeightParams"},
393 {0x00260000, StartConversion, "StartConversion"}, 413 {0x00260000, StartConversion, "StartConversion"},
394 {0x00270000, StopConversion, "StopConversion"}, 414 {0x00270000, StopConversion, "StopConversion"},
395 {0x00280000, IsBusyConversion, "IsBusyConversion"}, 415 {0x00280000, IsBusyConversion, "IsBusyConversion"},
@@ -397,6 +417,7 @@ const Interface::FunctionInfo FunctionTable[] = {
397 {0x002A0000, PingProcess, "PingProcess"}, 417 {0x002A0000, PingProcess, "PingProcess"},
398 {0x002B0000, DriverInitialize, "DriverInitialize"}, 418 {0x002B0000, DriverInitialize, "DriverInitialize"},
399 {0x002C0000, DriverFinalize, "DriverFinalize"}, 419 {0x002C0000, DriverFinalize, "DriverFinalize"},
420 {0x002D0000, nullptr, "GetPackageParameter"},
400}; 421};
401 422
402//////////////////////////////////////////////////////////////////////////////////////////////////// 423////////////////////////////////////////////////////////////////////////////////////////////////////