diff options
| author | 2016-12-07 22:45:12 -0800 | |
|---|---|---|
| committer | 2016-12-07 22:45:12 -0800 | |
| commit | 43558dc40a27ddcb90b9c603f3b0924a04b81ab0 (patch) | |
| tree | 6504d57b178698e410da415ec1213f7a76404ba9 /src/core/hle | |
| parent | Merge pull request #2281 from lioncash/applet (diff) | |
| parent | ssl_c: Update function table (diff) | |
| download | yuzu-43558dc40a27ddcb90b9c603f3b0924a04b81ab0.tar.gz yuzu-43558dc40a27ddcb90b9c603f3b0924a04b81ab0.tar.xz yuzu-43558dc40a27ddcb90b9c603f3b0924a04b81ab0.zip | |
Merge pull request #2283 from lioncash/svc
service: Update function tables
Diffstat (limited to 'src/core/hle')
| -rw-r--r-- | src/core/hle/service/act_a.cpp | 7 | ||||
| -rw-r--r-- | src/core/hle/service/act_u.cpp | 3 | ||||
| -rw-r--r-- | src/core/hle/service/apt/apt_a.cpp | 77 | ||||
| -rw-r--r-- | src/core/hle/service/apt/apt_s.cpp | 3 | ||||
| -rw-r--r-- | src/core/hle/service/boss/boss_p.cpp | 71 | ||||
| -rw-r--r-- | src/core/hle/service/cecd/cecd_u.cpp | 14 | ||||
| -rw-r--r-- | src/core/hle/service/cfg/cfg_i.cpp | 1 | ||||
| -rw-r--r-- | src/core/hle/service/cfg/cfg_s.cpp | 1 | ||||
| -rw-r--r-- | src/core/hle/service/cfg/cfg_u.cpp | 1 | ||||
| -rw-r--r-- | src/core/hle/service/dlp/dlp_srvr.cpp | 7 | ||||
| -rw-r--r-- | src/core/hle/service/fs/fs_user.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/gsp_lcd.cpp | 4 | ||||
| -rw-r--r-- | src/core/hle/service/http_c.cpp | 4 | ||||
| -rw-r--r-- | src/core/hle/service/nim/nim_s.cpp | 1 | ||||
| -rw-r--r-- | src/core/hle/service/nim/nim_u.cpp | 1 | ||||
| -rw-r--r-- | src/core/hle/service/nwm_uds.cpp | 12 | ||||
| -rw-r--r-- | src/core/hle/service/pm_app.cpp | 15 | ||||
| -rw-r--r-- | src/core/hle/service/ptm/ptm.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/ptm/ptm.h | 7 | ||||
| -rw-r--r-- | src/core/hle/service/ptm/ptm_sysm.cpp | 4 | ||||
| -rw-r--r-- | src/core/hle/service/ssl_c.cpp | 3 |
21 files changed, 212 insertions, 28 deletions
diff --git a/src/core/hle/service/act_a.cpp b/src/core/hle/service/act_a.cpp index 3a775fa90..35ba71f79 100644 --- a/src/core/hle/service/act_a.cpp +++ b/src/core/hle/service/act_a.cpp | |||
| @@ -10,6 +10,13 @@ | |||
| 10 | namespace ACT_A { | 10 | namespace ACT_A { |
| 11 | 11 | ||
| 12 | const Interface::FunctionInfo FunctionTable[] = { | 12 | const Interface::FunctionInfo FunctionTable[] = { |
| 13 | // act:u shared commands | ||
| 14 | {0x00010084, nullptr, "Initialize"}, | ||
| 15 | {0x00020040, nullptr, "GetErrorCode"}, | ||
| 16 | {0x000600C2, nullptr, "GetAccountDataBlock"}, | ||
| 17 | {0x000B0042, nullptr, "AcquireEulaList"}, | ||
| 18 | {0x000D0040, nullptr, "GenerateUuid"}, | ||
| 19 | // act:a | ||
| 13 | {0x041300C2, nullptr, "UpdateMiiImage"}, | 20 | {0x041300C2, nullptr, "UpdateMiiImage"}, |
| 14 | {0x041B0142, nullptr, "AgreeEula"}, | 21 | {0x041B0142, nullptr, "AgreeEula"}, |
| 15 | {0x04210042, nullptr, "UploadMii"}, | 22 | {0x04210042, nullptr, "UploadMii"}, |
diff --git a/src/core/hle/service/act_u.cpp b/src/core/hle/service/act_u.cpp index 05de4d002..1b871d441 100644 --- a/src/core/hle/service/act_u.cpp +++ b/src/core/hle/service/act_u.cpp | |||
| @@ -10,10 +10,13 @@ | |||
| 10 | namespace ACT_U { | 10 | namespace ACT_U { |
| 11 | 11 | ||
| 12 | const Interface::FunctionInfo FunctionTable[] = { | 12 | const Interface::FunctionInfo FunctionTable[] = { |
| 13 | // clang-format off | ||
| 13 | {0x00010084, nullptr, "Initialize"}, | 14 | {0x00010084, nullptr, "Initialize"}, |
| 14 | {0x00020040, nullptr, "GetErrorCode"}, | 15 | {0x00020040, nullptr, "GetErrorCode"}, |
| 15 | {0x000600C2, nullptr, "GetAccountDataBlock"}, | 16 | {0x000600C2, nullptr, "GetAccountDataBlock"}, |
| 17 | {0x000B0042, nullptr, "AcquireEulaList"}, | ||
| 16 | {0x000D0040, nullptr, "GenerateUuid"}, | 18 | {0x000D0040, nullptr, "GenerateUuid"}, |
| 19 | // clang-format on | ||
| 17 | }; | 20 | }; |
| 18 | 21 | ||
| 19 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 22 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
diff --git a/src/core/hle/service/apt/apt_a.cpp b/src/core/hle/service/apt/apt_a.cpp index a7a0c8a41..6e35e1d29 100644 --- a/src/core/hle/service/apt/apt_a.cpp +++ b/src/core/hle/service/apt/apt_a.cpp | |||
| @@ -9,34 +9,97 @@ namespace Service { | |||
| 9 | namespace APT { | 9 | namespace APT { |
| 10 | 10 | ||
| 11 | const Interface::FunctionInfo FunctionTable[] = { | 11 | const Interface::FunctionInfo FunctionTable[] = { |
| 12 | {0x00010040, GetLockHandle, "GetLockHandle?"}, | 12 | {0x00010040, GetLockHandle, "GetLockHandle"}, |
| 13 | {0x00020080, Initialize, "Initialize?"}, | 13 | {0x00020080, Initialize, "Initialize"}, |
| 14 | {0x00030040, Enable, "Enable?"}, | 14 | {0x00030040, Enable, "Enable"}, |
| 15 | {0x00040040, nullptr, "Finalize?"}, | 15 | {0x00040040, nullptr, "Finalize"}, |
| 16 | {0x00050040, GetAppletManInfo, "GetAppletManInfo"}, | 16 | {0x00050040, GetAppletManInfo, "GetAppletManInfo"}, |
| 17 | {0x00060040, GetAppletInfo, "GetAppletInfo"}, | 17 | {0x00060040, GetAppletInfo, "GetAppletInfo"}, |
| 18 | {0x00070000, nullptr, "GetLastSignaledAppletId"}, | ||
| 19 | {0x00080000, nullptr, "CountRegisteredApplet"}, | ||
| 18 | {0x00090040, IsRegistered, "IsRegistered"}, | 20 | {0x00090040, IsRegistered, "IsRegistered"}, |
| 21 | {0x000A0040, nullptr, "GetAttribute"}, | ||
| 19 | {0x000B0040, InquireNotification, "InquireNotification"}, | 22 | {0x000B0040, InquireNotification, "InquireNotification"}, |
| 20 | {0x000C0104, SendParameter, "SendParameter"}, | 23 | {0x000C0104, SendParameter, "SendParameter"}, |
| 21 | {0x000D0080, ReceiveParameter, "ReceiveParameter"}, | 24 | {0x000D0080, ReceiveParameter, "ReceiveParameter"}, |
| 22 | {0x000E0080, GlanceParameter, "GlanceParameter"}, | 25 | {0x000E0080, GlanceParameter, "GlanceParameter"}, |
| 23 | {0x000F0100, CancelParameter, "CancelParameter"}, | 26 | {0x000F0100, CancelParameter, "CancelParameter"}, |
| 27 | {0x001000C2, nullptr, "DebugFunc"}, | ||
| 28 | {0x001100C0, nullptr, "MapProgramIdForDebug"}, | ||
| 29 | {0x00120040, nullptr, "SetHomeMenuAppletIdForDebug"}, | ||
| 30 | {0x00130000, nullptr, "GetPreparationState"}, | ||
| 31 | {0x00140040, nullptr, "SetPreparationState"}, | ||
| 24 | {0x00150140, PrepareToStartApplication, "PrepareToStartApplication"}, | 32 | {0x00150140, PrepareToStartApplication, "PrepareToStartApplication"}, |
| 25 | {0x00160040, PreloadLibraryApplet, "PreloadLibraryApplet"}, | 33 | {0x00160040, PreloadLibraryApplet, "PreloadLibraryApplet"}, |
| 34 | {0x00170040, nullptr, "FinishPreloadingLibraryApplet"}, | ||
| 26 | {0x00180040, PrepareToStartLibraryApplet, "PrepareToStartLibraryApplet"}, | 35 | {0x00180040, PrepareToStartLibraryApplet, "PrepareToStartLibraryApplet"}, |
| 36 | {0x00190040, nullptr, "PrepareToStartSystemApplet"}, | ||
| 37 | {0x001A0000, nullptr, "PrepareToStartNewestHomeMenu"}, | ||
| 38 | {0x001B00C4, nullptr, "StartApplication"}, | ||
| 39 | {0x001C0000, nullptr, "WakeupApplication"}, | ||
| 40 | {0x001D0000, nullptr, "CancelApplication"}, | ||
| 27 | {0x001E0084, StartLibraryApplet, "StartLibraryApplet"}, | 41 | {0x001E0084, StartLibraryApplet, "StartLibraryApplet"}, |
| 42 | {0x001F0084, nullptr, "StartSystemApplet"}, | ||
| 43 | {0x00200044, nullptr, "StartNewestHomeMenu"}, | ||
| 44 | {0x00210000, nullptr, "OrderToCloseApplication"}, | ||
| 45 | {0x00220040, nullptr, "PrepareToCloseApplication"}, | ||
| 46 | {0x00230040, nullptr, "PrepareToJumpToApplication"}, | ||
| 47 | {0x00240044, nullptr, "JumpToApplication"}, | ||
| 48 | {0x002500C0, nullptr, "PrepareToCloseLibraryApplet"}, | ||
| 49 | {0x00260000, nullptr, "PrepareToCloseSystemApplet"}, | ||
| 50 | {0x00270044, nullptr, "CloseApplication"}, | ||
| 51 | {0x00280044, nullptr, "CloseLibraryApplet"}, | ||
| 52 | {0x00290044, nullptr, "CloseSystemApplet"}, | ||
| 53 | {0x002A0000, nullptr, "OrderToCloseSystemApplet"}, | ||
| 54 | {0x002B0000, nullptr, "PrepareToJumpToHomeMenu"}, | ||
| 55 | {0x002C0044, nullptr, "JumpToHomeMenu"}, | ||
| 56 | {0x002D0000, nullptr, "PrepareToLeaveHomeMenu"}, | ||
| 57 | {0x002E0044, nullptr, "LeaveHomeMenu"}, | ||
| 58 | {0x002F0040, nullptr, "PrepareToLeaveResidentApplet"}, | ||
| 59 | {0x00300044, nullptr, "LeaveResidentApplet"}, | ||
| 60 | {0x00310100, nullptr, "PrepareToDoApplicationJump"}, | ||
| 61 | {0x00320084, nullptr, "DoApplicationJump"}, | ||
| 62 | {0x00330000, nullptr, "GetProgramIdOnApplicationJump"}, | ||
| 63 | {0x00340084, nullptr, "SendDeliverArg"}, | ||
| 64 | {0x00350080, nullptr, "ReceiveDeliverArg"}, | ||
| 65 | {0x00360040, nullptr, "LoadSysMenuArg"}, | ||
| 66 | {0x00370042, nullptr, "StoreSysMenuArg"}, | ||
| 67 | {0x00380040, nullptr, "PreloadResidentApplet"}, | ||
| 68 | {0x00390040, nullptr, "PrepareToStartResidentApplet"}, | ||
| 69 | {0x003A0044, nullptr, "StartResidentApplet"}, | ||
| 28 | {0x003B0040, CancelLibraryApplet, "CancelLibraryApplet"}, | 70 | {0x003B0040, CancelLibraryApplet, "CancelLibraryApplet"}, |
| 71 | {0x003C0042, nullptr, "SendDspSleep"}, | ||
| 72 | {0x003D0042, nullptr, "SendDspWakeUp"}, | ||
| 29 | {0x003E0080, nullptr, "ReplySleepQuery"}, | 73 | {0x003E0080, nullptr, "ReplySleepQuery"}, |
| 30 | {0x00430040, NotifyToWait, "NotifyToWait?"}, | 74 | {0x003F0040, nullptr, "ReplySleepNotificationComplete"}, |
| 31 | {0x00440000, GetSharedFont, "GetSharedFont?"}, | 75 | {0x00400042, nullptr, "SendCaptureBufferInfo"}, |
| 32 | {0x004B00C2, AppletUtility, "AppletUtility?"}, | 76 | {0x00410040, nullptr, "ReceiveCaptureBufferInfo"}, |
| 77 | {0x00420080, nullptr, "SleepSystem"}, | ||
| 78 | {0x00430040, NotifyToWait, "NotifyToWait"}, | ||
| 79 | {0x00440000, GetSharedFont, "GetSharedFont"}, | ||
| 80 | {0x00450040, nullptr, "GetWirelessRebootInfo"}, | ||
| 81 | {0x00460104, nullptr, "Wrap"}, | ||
| 82 | {0x00470104, nullptr, "Unwrap"}, | ||
| 83 | {0x00480100, nullptr, "GetProgramInfo"}, | ||
| 84 | {0x00490180, nullptr, "Reboot"}, | ||
| 85 | {0x004A0040, nullptr, "GetCaptureInfo"}, | ||
| 86 | {0x004B00C2, AppletUtility, "AppletUtility"}, | ||
| 87 | {0x004C0000, nullptr, "SetFatalErrDispMode"}, | ||
| 88 | {0x004D0080, nullptr, "GetAppletProgramInfo"}, | ||
| 89 | {0x004E0000, nullptr, "HardwareResetAsync"}, | ||
| 33 | {0x004F0080, SetAppCpuTimeLimit, "SetAppCpuTimeLimit"}, | 90 | {0x004F0080, SetAppCpuTimeLimit, "SetAppCpuTimeLimit"}, |
| 34 | {0x00500040, GetAppCpuTimeLimit, "GetAppCpuTimeLimit"}, | 91 | {0x00500040, GetAppCpuTimeLimit, "GetAppCpuTimeLimit"}, |
| 35 | {0x00510080, GetStartupArgument, "GetStartupArgument"}, | 92 | {0x00510080, GetStartupArgument, "GetStartupArgument"}, |
| 93 | {0x00520104, nullptr, "Wrap1"}, | ||
| 94 | {0x00530104, nullptr, "Unwrap1"}, | ||
| 36 | {0x00550040, SetScreenCapPostPermission, "SetScreenCapPostPermission"}, | 95 | {0x00550040, SetScreenCapPostPermission, "SetScreenCapPostPermission"}, |
| 37 | {0x00560000, GetScreenCapPostPermission, "GetScreenCapPostPermission"}, | 96 | {0x00560000, GetScreenCapPostPermission, "GetScreenCapPostPermission"}, |
| 97 | {0x00570044, nullptr, "WakeupApplication2"}, | ||
| 98 | {0x00580002, nullptr, "GetProgramID"}, | ||
| 38 | {0x01010000, CheckNew3DSApp, "CheckNew3DSApp"}, | 99 | {0x01010000, CheckNew3DSApp, "CheckNew3DSApp"}, |
| 39 | {0x01020000, CheckNew3DS, "CheckNew3DS"}, | 100 | {0x01020000, CheckNew3DS, "CheckNew3DS"}, |
| 101 | {0x01040000, nullptr, "IsStandardMemoryLayout"}, | ||
| 102 | {0x01050100, nullptr, "IsTitleAllowed"}, | ||
| 40 | }; | 103 | }; |
| 41 | 104 | ||
| 42 | APT_A_Interface::APT_A_Interface() { | 105 | APT_A_Interface::APT_A_Interface() { |
diff --git a/src/core/hle/service/apt/apt_s.cpp b/src/core/hle/service/apt/apt_s.cpp index c4556a5de..84019e6e5 100644 --- a/src/core/hle/service/apt/apt_s.cpp +++ b/src/core/hle/service/apt/apt_s.cpp | |||
| @@ -94,9 +94,12 @@ const Interface::FunctionInfo FunctionTable[] = { | |||
| 94 | {0x00530104, nullptr, "Unwrap1"}, | 94 | {0x00530104, nullptr, "Unwrap1"}, |
| 95 | {0x00550040, SetScreenCapPostPermission, "SetScreenCapPostPermission"}, | 95 | {0x00550040, SetScreenCapPostPermission, "SetScreenCapPostPermission"}, |
| 96 | {0x00560000, GetScreenCapPostPermission, "GetScreenCapPostPermission"}, | 96 | {0x00560000, GetScreenCapPostPermission, "GetScreenCapPostPermission"}, |
| 97 | {0x00570044, nullptr, "WakeupApplication2"}, | ||
| 97 | {0x00580002, nullptr, "GetProgramID"}, | 98 | {0x00580002, nullptr, "GetProgramID"}, |
| 98 | {0x01010000, CheckNew3DSApp, "CheckNew3DSApp"}, | 99 | {0x01010000, CheckNew3DSApp, "CheckNew3DSApp"}, |
| 99 | {0x01020000, CheckNew3DS, "CheckNew3DS"}, | 100 | {0x01020000, CheckNew3DS, "CheckNew3DS"}, |
| 101 | {0x01040000, nullptr, "IsStandardMemoryLayout"}, | ||
| 102 | {0x01050100, nullptr, "IsTitleAllowed"}, | ||
| 100 | }; | 103 | }; |
| 101 | 104 | ||
| 102 | APT_S_Interface::APT_S_Interface() { | 105 | APT_S_Interface::APT_S_Interface() { |
diff --git a/src/core/hle/service/boss/boss_p.cpp b/src/core/hle/service/boss/boss_p.cpp index dfee8d055..ee941e228 100644 --- a/src/core/hle/service/boss/boss_p.cpp +++ b/src/core/hle/service/boss/boss_p.cpp | |||
| @@ -2,16 +2,81 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include "core/hle/service/boss/boss.h" | ||
| 5 | #include "core/hle/service/boss/boss_p.h" | 6 | #include "core/hle/service/boss/boss_p.h" |
| 6 | 7 | ||
| 7 | namespace Service { | 8 | namespace Service { |
| 8 | namespace BOSS { | 9 | namespace BOSS { |
| 9 | 10 | ||
| 10 | // Empty arrays are illegal -- commented out until an entry is added. | 11 | const Interface::FunctionInfo FunctionTable[] = { |
| 11 | // const Interface::FunctionInfo FunctionTable[] = { }; | 12 | // boss:u shared commands |
| 13 | {0x00010082, InitializeSession, "InitializeSession"}, | ||
| 14 | {0x00020100, RegisterStorage, "RegisterStorage"}, | ||
| 15 | {0x00030000, UnregisterStorage, "UnregisterStorage"}, | ||
| 16 | {0x00040000, GetStorageInfo, "GetStorageInfo"}, | ||
| 17 | {0x00050042, RegisterPrivateRootCa, "RegisterPrivateRootCa"}, | ||
| 18 | {0x00060084, RegisterPrivateClientCert, "RegisterPrivateClientCert"}, | ||
| 19 | {0x00070000, GetNewArrivalFlag, "GetNewArrivalFlag"}, | ||
| 20 | {0x00080002, RegisterNewArrivalEvent, "RegisterNewArrivalEvent"}, | ||
| 21 | {0x00090040, SetOptoutFlag, "SetOptoutFlag"}, | ||
| 22 | {0x000A0000, GetOptoutFlag, "GetOptoutFlag"}, | ||
| 23 | {0x000B00C2, RegisterTask, "RegisterTask"}, | ||
| 24 | {0x000C0082, UnregisterTask, "UnregisterTask"}, | ||
| 25 | {0x000D0082, ReconfigureTask, "ReconfigureTask"}, | ||
| 26 | {0x000E0000, GetTaskIdList, "GetTaskIdList"}, | ||
| 27 | {0x000F0042, GetStepIdList, "GetStepIdList"}, | ||
| 28 | {0x00100102, GetNsDataIdList, "GetNsDataIdList"}, | ||
| 29 | {0x00110102, GetOwnNsDataIdList, "GetOwnNsDataIdList"}, | ||
| 30 | {0x00120102, GetNewDataNsDataIdList, "GetNewDataNsDataIdList"}, | ||
| 31 | {0x00130102, GetOwnNewDataNsDataIdList, "GetOwnNewDataNsDataIdList"}, | ||
| 32 | {0x00140082, SendProperty, "SendProperty"}, | ||
| 33 | {0x00150042, SendPropertyHandle, "SendPropertyHandle"}, | ||
| 34 | {0x00160082, ReceiveProperty, "ReceiveProperty"}, | ||
| 35 | {0x00170082, UpdateTaskInterval, "UpdateTaskInterval"}, | ||
| 36 | {0x00180082, UpdateTaskCount, "UpdateTaskCount"}, | ||
| 37 | {0x00190042, GetTaskInterval, "GetTaskInterval"}, | ||
| 38 | {0x001A0042, GetTaskCount, "GetTaskCount"}, | ||
| 39 | {0x001B0042, GetTaskServiceStatus, "GetTaskServiceStatus"}, | ||
| 40 | {0x001C0042, StartTask, "StartTask"}, | ||
| 41 | {0x001D0042, StartTaskImmediate, "StartTaskImmediate"}, | ||
| 42 | {0x001E0042, CancelTask, "CancelTask"}, | ||
| 43 | {0x001F0000, GetTaskFinishHandle, "GetTaskFinishHandle"}, | ||
| 44 | {0x00200082, GetTaskState, "GetTaskState"}, | ||
| 45 | {0x00210042, GetTaskResult, "GetTaskResult"}, | ||
| 46 | {0x00220042, GetTaskCommErrorCode, "GetTaskCommErrorCode"}, | ||
| 47 | {0x002300C2, GetTaskStatus, "GetTaskStatus"}, | ||
| 48 | {0x00240082, GetTaskError, "GetTaskError"}, | ||
| 49 | {0x00250082, GetTaskInfo, "GetTaskInfo"}, | ||
| 50 | {0x00260040, DeleteNsData, "DeleteNsData"}, | ||
| 51 | {0x002700C2, GetNsDataHeaderInfo, "GetNsDataHeaderInfo"}, | ||
| 52 | {0x00280102, ReadNsData, "ReadNsData"}, | ||
| 53 | {0x00290080, SetNsDataAdditionalInfo, "SetNsDataAdditionalInfo"}, | ||
| 54 | {0x002A0040, GetNsDataAdditionalInfo, "GetNsDataAdditionalInfo"}, | ||
| 55 | {0x002B0080, SetNsDataNewFlag, "SetNsDataNewFlag"}, | ||
| 56 | {0x002C0040, GetNsDataNewFlag, "GetNsDataNewFlag"}, | ||
| 57 | {0x002D0040, GetNsDataLastUpdate, "GetNsDataLastUpdate"}, | ||
| 58 | {0x002E0040, GetErrorCode, "GetErrorCode"}, | ||
| 59 | {0x002F0140, RegisterStorageEntry, "RegisterStorageEntry"}, | ||
| 60 | {0x00300000, GetStorageEntryInfo, "GetStorageEntryInfo"}, | ||
| 61 | {0x00310100, SetStorageOption, "SetStorageOption"}, | ||
| 62 | {0x00320000, GetStorageOption, "GetStorageOption"}, | ||
| 63 | {0x00330042, StartBgImmediate, "StartBgImmediate"}, | ||
| 64 | {0x00340042, GetTaskActivePriority, "GetTaskActivePriority"}, | ||
| 65 | {0x003500C2, RegisterImmediateTask, "RegisterImmediateTask"}, | ||
| 66 | {0x00360084, SetTaskQuery, "SetTaskQuery"}, | ||
| 67 | {0x00370084, GetTaskQuery, "GetTaskQuery"}, | ||
| 68 | // boss:p | ||
| 69 | {0x04040080, nullptr, "GetAppNewFlag"}, | ||
| 70 | {0x04130082, nullptr, "SendPropertyPrivileged"}, | ||
| 71 | {0x041500C0, nullptr, "DeleteNsDataPrivileged"}, | ||
| 72 | {0x04160142, nullptr, "GetNsDataHeaderInfoPrivileged"}, | ||
| 73 | {0x04170182, nullptr, "ReadNsDataPrivileged"}, | ||
| 74 | {0x041A0100, nullptr, "SetNsDataNewFlagPrivileged"}, | ||
| 75 | {0x041B00C0, nullptr, "GetNsDataNewFlagPrivileged"}, | ||
| 76 | }; | ||
| 12 | 77 | ||
| 13 | BOSS_P_Interface::BOSS_P_Interface() { | 78 | BOSS_P_Interface::BOSS_P_Interface() { |
| 14 | // Register(FunctionTable); | 79 | Register(FunctionTable); |
| 15 | } | 80 | } |
| 16 | 81 | ||
| 17 | } // namespace BOSS | 82 | } // namespace BOSS |
diff --git a/src/core/hle/service/cecd/cecd_u.cpp b/src/core/hle/service/cecd/cecd_u.cpp index 4b747de7b..7d98ba6e9 100644 --- a/src/core/hle/service/cecd/cecd_u.cpp +++ b/src/core/hle/service/cecd/cecd_u.cpp | |||
| @@ -9,10 +9,22 @@ namespace Service { | |||
| 9 | namespace CECD { | 9 | namespace CECD { |
| 10 | 10 | ||
| 11 | static const Interface::FunctionInfo FunctionTable[] = { | 11 | static const Interface::FunctionInfo FunctionTable[] = { |
| 12 | {0x000100C2, nullptr, "OpenRawFile"}, | ||
| 13 | {0x00020042, nullptr, "ReadRawFile"}, | ||
| 14 | {0x00030104, nullptr, "ReadMessage"}, | ||
| 15 | {0x00040106, nullptr, "ReadMessageWithHMAC"}, | ||
| 16 | {0x00050042, nullptr, "WriteRawFile"}, | ||
| 17 | {0x00060104, nullptr, "WriteMessage"}, | ||
| 18 | {0x00070106, nullptr, "WriteMessageWithHMAC"}, | ||
| 19 | {0x00080102, nullptr, "Delete"}, | ||
| 20 | {0x000A00C4, nullptr, "GetSystemInfo"}, | ||
| 21 | {0x000B0040, nullptr, "RunCommand"}, | ||
| 22 | {0x000C0040, nullptr, "RunCommandAlt"}, | ||
| 12 | {0x000E0000, GetCecStateAbbreviated, "GetCecStateAbbreviated"}, | 23 | {0x000E0000, GetCecStateAbbreviated, "GetCecStateAbbreviated"}, |
| 13 | {0x000F0000, GetCecInfoEventHandle, "GetCecInfoEventHandle"}, | 24 | {0x000F0000, GetCecInfoEventHandle, "GetCecInfoEventHandle"}, |
| 14 | {0x00100000, GetChangeStateEventHandle, "GetChangeStateEventHandle"}, | 25 | {0x00100000, GetChangeStateEventHandle, "GetChangeStateEventHandle"}, |
| 15 | {0x00120104, nullptr, "ReadSavedData"}, | 26 | {0x00110104, nullptr, "OpenAndWrite"}, |
| 27 | {0x00120104, nullptr, "OpenAndRead"}, | ||
| 16 | }; | 28 | }; |
| 17 | 29 | ||
| 18 | CECD_U_Interface::CECD_U_Interface() { | 30 | CECD_U_Interface::CECD_U_Interface() { |
diff --git a/src/core/hle/service/cfg/cfg_i.cpp b/src/core/hle/service/cfg/cfg_i.cpp index 2ff52c8b8..46312da4b 100644 --- a/src/core/hle/service/cfg/cfg_i.cpp +++ b/src/core/hle/service/cfg/cfg_i.cpp | |||
| @@ -20,6 +20,7 @@ const Interface::FunctionInfo FunctionTable[] = { | |||
| 20 | {0x00080080, nullptr, "GoThroughTable"}, | 20 | {0x00080080, nullptr, "GoThroughTable"}, |
| 21 | {0x00090040, GetCountryCodeString, "GetCountryCodeString"}, | 21 | {0x00090040, GetCountryCodeString, "GetCountryCodeString"}, |
| 22 | {0x000A0040, GetCountryCodeID, "GetCountryCodeID"}, | 22 | {0x000A0040, GetCountryCodeID, "GetCountryCodeID"}, |
| 23 | {0x000B0000, nullptr, "IsFangateSupported"}, | ||
| 23 | // cfg:i | 24 | // cfg:i |
| 24 | {0x04010082, GetConfigInfoBlk8, "GetConfigInfoBlk8"}, | 25 | {0x04010082, GetConfigInfoBlk8, "GetConfigInfoBlk8"}, |
| 25 | {0x04020082, SetConfigInfoBlk4, "SetConfigInfoBlk4"}, | 26 | {0x04020082, SetConfigInfoBlk4, "SetConfigInfoBlk4"}, |
diff --git a/src/core/hle/service/cfg/cfg_s.cpp b/src/core/hle/service/cfg/cfg_s.cpp index eed26dec7..564a9bb08 100644 --- a/src/core/hle/service/cfg/cfg_s.cpp +++ b/src/core/hle/service/cfg/cfg_s.cpp | |||
| @@ -20,6 +20,7 @@ const Interface::FunctionInfo FunctionTable[] = { | |||
| 20 | {0x00080080, nullptr, "GoThroughTable"}, | 20 | {0x00080080, nullptr, "GoThroughTable"}, |
| 21 | {0x00090040, GetCountryCodeString, "GetCountryCodeString"}, | 21 | {0x00090040, GetCountryCodeString, "GetCountryCodeString"}, |
| 22 | {0x000A0040, GetCountryCodeID, "GetCountryCodeID"}, | 22 | {0x000A0040, GetCountryCodeID, "GetCountryCodeID"}, |
| 23 | {0x000B0000, nullptr, "IsFangateSupported"}, | ||
| 23 | // cfg:s | 24 | // cfg:s |
| 24 | {0x04010082, GetConfigInfoBlk8, "GetConfigInfoBlk8"}, | 25 | {0x04010082, GetConfigInfoBlk8, "GetConfigInfoBlk8"}, |
| 25 | {0x04020082, SetConfigInfoBlk4, "SetConfigInfoBlk4"}, | 26 | {0x04020082, SetConfigInfoBlk4, "SetConfigInfoBlk4"}, |
diff --git a/src/core/hle/service/cfg/cfg_u.cpp b/src/core/hle/service/cfg/cfg_u.cpp index f28217134..4c82846c0 100644 --- a/src/core/hle/service/cfg/cfg_u.cpp +++ b/src/core/hle/service/cfg/cfg_u.cpp | |||
| @@ -20,6 +20,7 @@ const Interface::FunctionInfo FunctionTable[] = { | |||
| 20 | {0x00080080, nullptr, "GoThroughTable"}, | 20 | {0x00080080, nullptr, "GoThroughTable"}, |
| 21 | {0x00090040, GetCountryCodeString, "GetCountryCodeString"}, | 21 | {0x00090040, GetCountryCodeString, "GetCountryCodeString"}, |
| 22 | {0x000A0040, GetCountryCodeID, "GetCountryCodeID"}, | 22 | {0x000A0040, GetCountryCodeID, "GetCountryCodeID"}, |
| 23 | {0x000B0000, nullptr, "IsFangateSupported"}, | ||
| 23 | }; | 24 | }; |
| 24 | 25 | ||
| 25 | CFG_U_Interface::CFG_U_Interface() { | 26 | CFG_U_Interface::CFG_U_Interface() { |
diff --git a/src/core/hle/service/dlp/dlp_srvr.cpp b/src/core/hle/service/dlp/dlp_srvr.cpp index 49d5b8d1c..25c07f401 100644 --- a/src/core/hle/service/dlp/dlp_srvr.cpp +++ b/src/core/hle/service/dlp/dlp_srvr.cpp | |||
| @@ -22,7 +22,14 @@ static void unk_0x000E0040(Interface* self) { | |||
| 22 | const Interface::FunctionInfo FunctionTable[] = { | 22 | const Interface::FunctionInfo FunctionTable[] = { |
| 23 | {0x00010183, nullptr, "Initialize"}, | 23 | {0x00010183, nullptr, "Initialize"}, |
| 24 | {0x00020000, nullptr, "Finalize"}, | 24 | {0x00020000, nullptr, "Finalize"}, |
| 25 | {0x00030000, nullptr, "GetServerState"}, | ||
| 26 | {0x00050080, nullptr, "StartAccepting"}, | ||
| 27 | {0x00070000, nullptr, "StartDistribution"}, | ||
| 25 | {0x000800C0, nullptr, "SendWirelessRebootPassphrase"}, | 28 | {0x000800C0, nullptr, "SendWirelessRebootPassphrase"}, |
| 29 | {0x00090040, nullptr, "AcceptClient"}, | ||
| 30 | {0x000B0042, nullptr, "GetConnectingClients"}, | ||
| 31 | {0x000C0040, nullptr, "GetClientInfo"}, | ||
| 32 | {0x000D0040, nullptr, "GetClientState"}, | ||
| 26 | {0x000E0040, unk_0x000E0040, "unk_0x000E0040"}, | 33 | {0x000E0040, unk_0x000E0040, "unk_0x000E0040"}, |
| 27 | }; | 34 | }; |
| 28 | 35 | ||
diff --git a/src/core/hle/service/fs/fs_user.cpp b/src/core/hle/service/fs/fs_user.cpp index 9ec17b395..d6ab5b065 100644 --- a/src/core/hle/service/fs/fs_user.cpp +++ b/src/core/hle/service/fs/fs_user.cpp | |||
| @@ -1003,6 +1003,8 @@ const Interface::FunctionInfo FunctionTable[] = { | |||
| 1003 | {0x08680000, nullptr, "GetMediaType"}, | 1003 | {0x08680000, nullptr, "GetMediaType"}, |
| 1004 | {0x08690000, nullptr, "GetNandEraseCount"}, | 1004 | {0x08690000, nullptr, "GetNandEraseCount"}, |
| 1005 | {0x086A0082, nullptr, "ReadNandReport"}, | 1005 | {0x086A0082, nullptr, "ReadNandReport"}, |
| 1006 | {0x087A0180, nullptr, "AddSeed"}, | ||
| 1007 | {0x088600C0, nullptr, "CheckUpdatedDat"}, | ||
| 1006 | }; | 1008 | }; |
| 1007 | 1009 | ||
| 1008 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 1010 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
diff --git a/src/core/hle/service/gsp_lcd.cpp b/src/core/hle/service/gsp_lcd.cpp index b916dd759..3fdf5cca4 100644 --- a/src/core/hle/service/gsp_lcd.cpp +++ b/src/core/hle/service/gsp_lcd.cpp | |||
| @@ -11,11 +11,15 @@ namespace GSP_LCD { | |||
| 11 | 11 | ||
| 12 | const Interface::FunctionInfo FunctionTable[] = { | 12 | const Interface::FunctionInfo FunctionTable[] = { |
| 13 | // clang-format off | 13 | // clang-format off |
| 14 | {0x000A0080, nullptr, "SetBrightnessRaw"}, | ||
| 15 | {0x000B0080, nullptr, "SetBrightness"}, | ||
| 14 | {0x000F0000, nullptr, "PowerOnAllBacklights"}, | 16 | {0x000F0000, nullptr, "PowerOnAllBacklights"}, |
| 15 | {0x00100000, nullptr, "PowerOffAllBacklights"}, | 17 | {0x00100000, nullptr, "PowerOffAllBacklights"}, |
| 16 | {0x00110040, nullptr, "PowerOnBacklight"}, | 18 | {0x00110040, nullptr, "PowerOnBacklight"}, |
| 17 | {0x00120040, nullptr, "PowerOffBacklight"}, | 19 | {0x00120040, nullptr, "PowerOffBacklight"}, |
| 18 | {0x00130040, nullptr, "SetLedForceOff"}, | 20 | {0x00130040, nullptr, "SetLedForceOff"}, |
| 21 | {0x00140000, nullptr, "GetVendor"}, | ||
| 22 | {0x00150040, nullptr, "GetBrightness"}, | ||
| 19 | // clang-format on | 23 | // clang-format on |
| 20 | }; | 24 | }; |
| 21 | 25 | ||
diff --git a/src/core/hle/service/http_c.cpp b/src/core/hle/service/http_c.cpp index 3cf62a4b8..65c7babe5 100644 --- a/src/core/hle/service/http_c.cpp +++ b/src/core/hle/service/http_c.cpp | |||
| @@ -55,6 +55,10 @@ const Interface::FunctionInfo FunctionTable[] = { | |||
| 55 | {0x002E0040, nullptr, "DestroyRootCertChain"}, | 55 | {0x002E0040, nullptr, "DestroyRootCertChain"}, |
| 56 | {0x002F0082, nullptr, "RootCertChainAddCert"}, | 56 | {0x002F0082, nullptr, "RootCertChainAddCert"}, |
| 57 | {0x00300080, nullptr, "RootCertChainAddDefaultCert"}, | 57 | {0x00300080, nullptr, "RootCertChainAddDefaultCert"}, |
| 58 | {0x00310080, nullptr, "RootCertChainRemoveCert"}, | ||
| 59 | {0x00320084, nullptr, "OpenClientCertContext"}, | ||
| 60 | {0x00330040, nullptr, "OpenDefaultClientCertContext"}, | ||
| 61 | {0x00340040, nullptr, "CloseClientCertContext"}, | ||
| 58 | {0x00350186, nullptr, "SetDefaultProxy"}, | 62 | {0x00350186, nullptr, "SetDefaultProxy"}, |
| 59 | {0x00360000, nullptr, "ClearDNSCache"}, | 63 | {0x00360000, nullptr, "ClearDNSCache"}, |
| 60 | {0x00370080, nullptr, "SetKeepAlive"}, | 64 | {0x00370080, nullptr, "SetKeepAlive"}, |
diff --git a/src/core/hle/service/nim/nim_s.cpp b/src/core/hle/service/nim/nim_s.cpp index e2ba693c9..28b87e6f7 100644 --- a/src/core/hle/service/nim/nim_s.cpp +++ b/src/core/hle/service/nim/nim_s.cpp | |||
| @@ -10,6 +10,7 @@ namespace NIM { | |||
| 10 | const Interface::FunctionInfo FunctionTable[] = { | 10 | const Interface::FunctionInfo FunctionTable[] = { |
| 11 | {0x000A0000, nullptr, "CheckSysupdateAvailableSOAP"}, | 11 | {0x000A0000, nullptr, "CheckSysupdateAvailableSOAP"}, |
| 12 | {0x0016020A, nullptr, "ListTitles"}, | 12 | {0x0016020A, nullptr, "ListTitles"}, |
| 13 | {0x00290000, nullptr, "AccountCheckBalanceSOAP"}, | ||
| 13 | {0x002D0042, nullptr, "DownloadTickets"}, | 14 | {0x002D0042, nullptr, "DownloadTickets"}, |
| 14 | {0x00420240, nullptr, "StartDownload"}, | 15 | {0x00420240, nullptr, "StartDownload"}, |
| 15 | }; | 16 | }; |
diff --git a/src/core/hle/service/nim/nim_u.cpp b/src/core/hle/service/nim/nim_u.cpp index 7e07d02e8..7664bad60 100644 --- a/src/core/hle/service/nim/nim_u.cpp +++ b/src/core/hle/service/nim/nim_u.cpp | |||
| @@ -15,6 +15,7 @@ const Interface::FunctionInfo FunctionTable[] = { | |||
| 15 | {0x00050000, nullptr, "CheckForSysUpdateEvent"}, | 15 | {0x00050000, nullptr, "CheckForSysUpdateEvent"}, |
| 16 | {0x00090000, CheckSysUpdateAvailable, "CheckSysUpdateAvailable"}, | 16 | {0x00090000, CheckSysUpdateAvailable, "CheckSysUpdateAvailable"}, |
| 17 | {0x000A0000, nullptr, "GetState"}, | 17 | {0x000A0000, nullptr, "GetState"}, |
| 18 | {0x000B0000, nullptr, "GetSystemTitleHash"}, | ||
| 18 | }; | 19 | }; |
| 19 | 20 | ||
| 20 | NIM_U_Interface::NIM_U_Interface() { | 21 | NIM_U_Interface::NIM_U_Interface() { |
diff --git a/src/core/hle/service/nwm_uds.cpp b/src/core/hle/service/nwm_uds.cpp index 80081aae2..8a2b00614 100644 --- a/src/core/hle/service/nwm_uds.cpp +++ b/src/core/hle/service/nwm_uds.cpp | |||
| @@ -90,7 +90,7 @@ static void RecvBeaconBroadcastData(Service::Interface* self) { | |||
| 90 | * 2 : Value 0 | 90 | * 2 : Value 0 |
| 91 | * 3 : Output handle | 91 | * 3 : Output handle |
| 92 | */ | 92 | */ |
| 93 | static void Initialize(Service::Interface* self) { | 93 | static void InitializeWithVersion(Service::Interface* self) { |
| 94 | u32* cmd_buff = Kernel::GetCommandBuffer(); | 94 | u32* cmd_buff = Kernel::GetCommandBuffer(); |
| 95 | u32 unk1 = cmd_buff[1]; | 95 | u32 unk1 = cmd_buff[1]; |
| 96 | u32 unk2 = cmd_buff[12]; | 96 | u32 unk2 = cmd_buff[12]; |
| @@ -120,24 +120,26 @@ static void Initialize(Service::Interface* self) { | |||
| 120 | const Interface::FunctionInfo FunctionTable[] = { | 120 | const Interface::FunctionInfo FunctionTable[] = { |
| 121 | {0x00020000, nullptr, "Scrap"}, | 121 | {0x00020000, nullptr, "Scrap"}, |
| 122 | {0x00030000, Shutdown, "Shutdown"}, | 122 | {0x00030000, Shutdown, "Shutdown"}, |
| 123 | {0x00040402, nullptr, "CreateNetwork"}, | 123 | {0x00040402, nullptr, "CreateNetwork (deprecated)"}, |
| 124 | {0x00050040, nullptr, "EjectClient"}, | 124 | {0x00050040, nullptr, "EjectClient"}, |
| 125 | {0x00060000, nullptr, "EjectSpectator"}, | 125 | {0x00060000, nullptr, "EjectSpectator"}, |
| 126 | {0x00070080, nullptr, "UpdateNetworkAttribute"}, | 126 | {0x00070080, nullptr, "UpdateNetworkAttribute"}, |
| 127 | {0x00080000, nullptr, "DestroyNetwork"}, | 127 | {0x00080000, nullptr, "DestroyNetwork"}, |
| 128 | {0x00090442, nullptr, "ConnectNetwork (deprecated)"}, | ||
| 128 | {0x000A0000, nullptr, "DisconnectNetwork"}, | 129 | {0x000A0000, nullptr, "DisconnectNetwork"}, |
| 129 | {0x000B0000, nullptr, "GetConnectionStatus"}, | 130 | {0x000B0000, nullptr, "GetConnectionStatus"}, |
| 130 | {0x000D0040, nullptr, "GetNodeInformation"}, | 131 | {0x000D0040, nullptr, "GetNodeInformation"}, |
| 132 | {0x000E0006, nullptr, "DecryptBeaconData (deprecated)"}, | ||
| 131 | {0x000F0404, RecvBeaconBroadcastData, "RecvBeaconBroadcastData"}, | 133 | {0x000F0404, RecvBeaconBroadcastData, "RecvBeaconBroadcastData"}, |
| 132 | {0x00100042, nullptr, "SetBeaconAdditionalData"}, | 134 | {0x00100042, nullptr, "SetApplicationData"}, |
| 133 | {0x00110040, nullptr, "GetApplicationData"}, | 135 | {0x00110040, nullptr, "GetApplicationData"}, |
| 134 | {0x00120100, nullptr, "Bind"}, | 136 | {0x00120100, nullptr, "Bind"}, |
| 135 | {0x00130040, nullptr, "Unbind"}, | 137 | {0x00130040, nullptr, "Unbind"}, |
| 136 | {0x001400C0, nullptr, "RecvBroadcastDataFrame"}, | 138 | {0x001400C0, nullptr, "PullPacket"}, |
| 137 | {0x00150080, nullptr, "SetMaxSendDelay"}, | 139 | {0x00150080, nullptr, "SetMaxSendDelay"}, |
| 138 | {0x00170182, nullptr, "SendTo"}, | 140 | {0x00170182, nullptr, "SendTo"}, |
| 139 | {0x001A0000, nullptr, "GetChannel"}, | 141 | {0x001A0000, nullptr, "GetChannel"}, |
| 140 | {0x001B0302, Initialize, "Initialize"}, | 142 | {0x001B0302, InitializeWithVersion, "InitializeWithVersion"}, |
| 141 | {0x001D0044, nullptr, "BeginHostingNetwork"}, | 143 | {0x001D0044, nullptr, "BeginHostingNetwork"}, |
| 142 | {0x001E0084, nullptr, "ConnectToNetwork"}, | 144 | {0x001E0084, nullptr, "ConnectToNetwork"}, |
| 143 | {0x001F0006, nullptr, "DecryptBeaconData"}, | 145 | {0x001F0006, nullptr, "DecryptBeaconData"}, |
diff --git a/src/core/hle/service/pm_app.cpp b/src/core/hle/service/pm_app.cpp index 7d91694f6..194d7c40d 100644 --- a/src/core/hle/service/pm_app.cpp +++ b/src/core/hle/service/pm_app.cpp | |||
| @@ -10,18 +10,21 @@ | |||
| 10 | namespace PM_APP { | 10 | namespace PM_APP { |
| 11 | 11 | ||
| 12 | const Interface::FunctionInfo FunctionTable[] = { | 12 | const Interface::FunctionInfo FunctionTable[] = { |
| 13 | // clang-format off | ||
| 13 | {0x00010140, nullptr, "LaunchTitle"}, | 14 | {0x00010140, nullptr, "LaunchTitle"}, |
| 14 | {0x00020082, nullptr, "LaunchFIRMSetParams"}, | 15 | {0x00020082, nullptr, "LaunchFIRM"}, |
| 15 | {0x00030080, nullptr, "TerminateProcesse"}, | 16 | {0x00030080, nullptr, "TerminateApplication"}, |
| 16 | {0x00040100, nullptr, "TerminateProcessTID"}, | 17 | {0x00040100, nullptr, "TerminateTitle"}, |
| 17 | {0x000500C0, nullptr, "TerminateProcessTID_unknown"}, | 18 | {0x000500C0, nullptr, "TerminateProcess"}, |
| 19 | {0x00060082, nullptr, "PrepareForReboot"}, | ||
| 18 | {0x00070042, nullptr, "GetFIRMLaunchParams"}, | 20 | {0x00070042, nullptr, "GetFIRMLaunchParams"}, |
| 19 | {0x00080100, nullptr, "GetTitleExheaderFlags"}, | 21 | {0x00080100, nullptr, "GetTitleExheaderFlags"}, |
| 20 | {0x00090042, nullptr, "SetFIRMLaunchParams"}, | 22 | {0x00090042, nullptr, "SetFIRMLaunchParams"}, |
| 21 | {0x000A0140, nullptr, "SetResourceLimit"}, | 23 | {0x000A0140, nullptr, "SetAppResourceLimit"}, |
| 22 | {0x000B0140, nullptr, "GetResourceLimitMax"}, | 24 | {0x000B0140, nullptr, "GetAppResourceLimit"}, |
| 23 | {0x000C0080, nullptr, "UnregisterProcess"}, | 25 | {0x000C0080, nullptr, "UnregisterProcess"}, |
| 24 | {0x000D0240, nullptr, "LaunchTitleUpdate"}, | 26 | {0x000D0240, nullptr, "LaunchTitleUpdate"}, |
| 27 | // clang-format on | ||
| 25 | }; | 28 | }; |
| 26 | 29 | ||
| 27 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 30 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
diff --git a/src/core/hle/service/ptm/ptm.cpp b/src/core/hle/service/ptm/ptm.cpp index cc859c14c..6a9f1d24d 100644 --- a/src/core/hle/service/ptm/ptm.cpp +++ b/src/core/hle/service/ptm/ptm.cpp | |||
| @@ -81,7 +81,7 @@ void GetTotalStepCount(Service::Interface* self) { | |||
| 81 | LOG_WARNING(Service_PTM, "(STUBBED) called"); | 81 | LOG_WARNING(Service_PTM, "(STUBBED) called"); |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | void IsLegacyPowerOff(Service::Interface* self) { | 84 | void GetSoftwareClosedFlag(Service::Interface* self) { |
| 85 | u32* cmd_buff = Kernel::GetCommandBuffer(); | 85 | u32* cmd_buff = Kernel::GetCommandBuffer(); |
| 86 | 86 | ||
| 87 | cmd_buff[1] = RESULT_SUCCESS.raw; | 87 | cmd_buff[1] = RESULT_SUCCESS.raw; |
diff --git a/src/core/hle/service/ptm/ptm.h b/src/core/hle/service/ptm/ptm.h index 6e163a6f9..a1a628012 100644 --- a/src/core/hle/service/ptm/ptm.h +++ b/src/core/hle/service/ptm/ptm.h | |||
| @@ -82,12 +82,13 @@ void GetBatteryChargeState(Interface* self); | |||
| 82 | void GetTotalStepCount(Interface* self); | 82 | void GetTotalStepCount(Interface* self); |
| 83 | 83 | ||
| 84 | /** | 84 | /** |
| 85 | * PTM::IsLegacyPowerOff service function | 85 | * PTM::GetSoftwareClosedFlag service function |
| 86 | * Outputs: | 86 | * Outputs: |
| 87 | * 1: Result code, 0 on success, otherwise error code | 87 | * 1: Result code, 0 on success, otherwise error code |
| 88 | * 2: Whether the system is going through a power off | 88 | * 2: Whether or not the "software closed" dialog was requested by the last FIRM |
| 89 | * and should be displayed. | ||
| 89 | */ | 90 | */ |
| 90 | void IsLegacyPowerOff(Interface* self); | 91 | void GetSoftwareClosedFlag(Interface* self); |
| 91 | 92 | ||
| 92 | /** | 93 | /** |
| 93 | * PTM::CheckNew3DS service function | 94 | * PTM::CheckNew3DS service function |
diff --git a/src/core/hle/service/ptm/ptm_sysm.cpp b/src/core/hle/service/ptm/ptm_sysm.cpp index 693158dbf..82e118e2b 100644 --- a/src/core/hle/service/ptm/ptm_sysm.cpp +++ b/src/core/hle/service/ptm/ptm_sysm.cpp | |||
| @@ -33,8 +33,8 @@ const Interface::FunctionInfo FunctionTable[] = { | |||
| 33 | {0x080C0080, nullptr, "SetUserTime"}, | 33 | {0x080C0080, nullptr, "SetUserTime"}, |
| 34 | {0x080D0000, nullptr, "InvalidateSystemTime"}, | 34 | {0x080D0000, nullptr, "InvalidateSystemTime"}, |
| 35 | {0x080E0140, nullptr, "NotifyPlayEvent"}, | 35 | {0x080E0140, nullptr, "NotifyPlayEvent"}, |
| 36 | {0x080F0000, IsLegacyPowerOff, "IsLegacyPowerOff"}, | 36 | {0x080F0000, GetSoftwareClosedFlag, "GetSoftwareClosedFlag"}, |
| 37 | {0x08100000, nullptr, "ClearLegacyPowerOff"}, | 37 | {0x08100000, nullptr, "ClearSoftwareClosedFlag"}, |
| 38 | {0x08110000, GetShellState, "GetShellState"}, | 38 | {0x08110000, GetShellState, "GetShellState"}, |
| 39 | {0x08120000, nullptr, "IsShutdownByBatteryEmpty"}, | 39 | {0x08120000, nullptr, "IsShutdownByBatteryEmpty"}, |
| 40 | {0x08130000, nullptr, "FormatSavedata"}, | 40 | {0x08130000, nullptr, "FormatSavedata"}, |
diff --git a/src/core/hle/service/ssl_c.cpp b/src/core/hle/service/ssl_c.cpp index abab1d271..6d36e5a24 100644 --- a/src/core/hle/service/ssl_c.cpp +++ b/src/core/hle/service/ssl_c.cpp | |||
| @@ -66,6 +66,7 @@ const Interface::FunctionInfo FunctionTable[] = { | |||
| 66 | {0x00050082, nullptr, "AddTrustedRootCA"}, | 66 | {0x00050082, nullptr, "AddTrustedRootCA"}, |
| 67 | {0x00060080, nullptr, "RootCertChainAddDefaultCert"}, | 67 | {0x00060080, nullptr, "RootCertChainAddDefaultCert"}, |
| 68 | {0x00070080, nullptr, "RootCertChainRemoveCert"}, | 68 | {0x00070080, nullptr, "RootCertChainRemoveCert"}, |
| 69 | {0x000D0084, nullptr, "OpenClientCertContext"}, | ||
| 69 | {0x000E0040, nullptr, "OpenDefaultClientCertContext"}, | 70 | {0x000E0040, nullptr, "OpenDefaultClientCertContext"}, |
| 70 | {0x000F0040, nullptr, "CloseClientCertContext"}, | 71 | {0x000F0040, nullptr, "CloseClientCertContext"}, |
| 71 | {0x00110042, GenerateRandomData, "GenerateRandomData"}, | 72 | {0x00110042, GenerateRandomData, "GenerateRandomData"}, |
| @@ -73,10 +74,12 @@ const Interface::FunctionInfo FunctionTable[] = { | |||
| 73 | {0x00130040, nullptr, "StartConnection"}, | 74 | {0x00130040, nullptr, "StartConnection"}, |
| 74 | {0x00140040, nullptr, "StartConnectionGetOut"}, | 75 | {0x00140040, nullptr, "StartConnectionGetOut"}, |
| 75 | {0x00150082, nullptr, "Read"}, | 76 | {0x00150082, nullptr, "Read"}, |
| 77 | {0x00160082, nullptr, "ReadPeek"}, | ||
| 76 | {0x00170082, nullptr, "Write"}, | 78 | {0x00170082, nullptr, "Write"}, |
| 77 | {0x00180080, nullptr, "ContextSetRootCertChain"}, | 79 | {0x00180080, nullptr, "ContextSetRootCertChain"}, |
| 78 | {0x00190080, nullptr, "ContextSetClientCert"}, | 80 | {0x00190080, nullptr, "ContextSetClientCert"}, |
| 79 | {0x001B0080, nullptr, "ContextClearOpt"}, | 81 | {0x001B0080, nullptr, "ContextClearOpt"}, |
| 82 | {0x001C00C4, nullptr, "ContextGetProtocolCipher"}, | ||
| 80 | {0x001E0040, nullptr, "DestroyContext"}, | 83 | {0x001E0040, nullptr, "DestroyContext"}, |
| 81 | {0x001F0082, nullptr, "ContextInitSharedmem"}, | 84 | {0x001F0082, nullptr, "ContextInitSharedmem"}, |
| 82 | }; | 85 | }; |