summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2015-01-05 22:48:58 -0500
committerGravatar bunnei2015-01-05 22:48:58 -0500
commit9eaef4e04ac23640867448eb2ad416c23cda93e3 (patch)
tree65877eaf75b7d6f8c1fd06c6ad7c40cabe40a352 /src
parentMerge pull request #272 from rohit-n/sign-compare (diff)
parentServices: Clean up a few things and add a few function names (diff)
downloadyuzu-9eaef4e04ac23640867448eb2ad416c23cda93e3.tar.gz
yuzu-9eaef4e04ac23640867448eb2ad416c23cda93e3.tar.xz
yuzu-9eaef4e04ac23640867448eb2ad416c23cda93e3.zip
Merge pull request #413 from purpasmart96/serv_clean
Services: Clean up a few things and add a few function names
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/apt_a.cpp4
-rw-r--r--src/core/hle/service/cfg/cfg_u.cpp6
-rw-r--r--src/core/hle/service/csnd_snd.cpp13
-rw-r--r--src/core/hle/service/ir_rst.cpp7
-rw-r--r--src/core/hle/service/ldr_ro.cpp12
-rw-r--r--src/core/hle/service/ndm_u.cpp11
-rw-r--r--src/core/hle/service/srv.cpp16
7 files changed, 36 insertions, 33 deletions
diff --git a/src/core/hle/service/apt_a.cpp b/src/core/hle/service/apt_a.cpp
index 4b0f761d9..37be4b027 100644
--- a/src/core/hle/service/apt_a.cpp
+++ b/src/core/hle/service/apt_a.cpp
@@ -25,12 +25,12 @@ const Interface::FunctionInfo FunctionTable[] = {
25 {0x00040040, nullptr, "Finalize?"}, 25 {0x00040040, nullptr, "Finalize?"},
26 {0x00050040, nullptr, "GetAppletManInfo?"}, 26 {0x00050040, nullptr, "GetAppletManInfo?"},
27 {0x00060040, nullptr, "GetAppletInfo?"}, 27 {0x00060040, nullptr, "GetAppletInfo?"},
28 {0x000D0080, APT_U::ReceiveParameter, "ReceiveParameter?"},
29 {0x000E0080, APT_U::GlanceParameter, "GlanceParameter?"},
28 {0x003B0040, nullptr, "CancelLibraryApplet?"}, 30 {0x003B0040, nullptr, "CancelLibraryApplet?"},
29 {0x00430040, nullptr, "NotifyToWait?"}, 31 {0x00430040, nullptr, "NotifyToWait?"},
30 {0x004B00C2, nullptr, "AppletUtility?"}, 32 {0x004B00C2, nullptr, "AppletUtility?"},
31 {0x00550040, nullptr, "WriteInputToNsState?"}, 33 {0x00550040, nullptr, "WriteInputToNsState?"},
32 {0x000D0080, APT_U::ReceiveParameter, "ReceiveParameter" },
33 {0x000E0080, APT_U::GlanceParameter, "GlanceParameter" },
34}; 34};
35 35
36//////////////////////////////////////////////////////////////////////////////////////////////////// 36////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/hle/service/cfg/cfg_u.cpp b/src/core/hle/service/cfg/cfg_u.cpp
index 03c01cf90..835620909 100644
--- a/src/core/hle/service/cfg/cfg_u.cpp
+++ b/src/core/hle/service/cfg/cfg_u.cpp
@@ -172,12 +172,12 @@ static void GetModelNintendo2DS(Service::Interface* self) {
172const Interface::FunctionInfo FunctionTable[] = { 172const Interface::FunctionInfo FunctionTable[] = {
173 {0x00010082, GetConfigInfoBlk2, "GetConfigInfoBlk2"}, 173 {0x00010082, GetConfigInfoBlk2, "GetConfigInfoBlk2"},
174 {0x00020000, nullptr, "SecureInfoGetRegion"}, 174 {0x00020000, nullptr, "SecureInfoGetRegion"},
175 {0x00030000, nullptr, "GenHashConsoleUnique"}, 175 {0x00030040, nullptr, "GenHashConsoleUnique"},
176 {0x00040000, nullptr, "GetRegionCanadaUSA"}, 176 {0x00040000, nullptr, "GetRegionCanadaUSA"},
177 {0x00050000, GetSystemModel, "GetSystemModel"}, 177 {0x00050000, GetSystemModel, "GetSystemModel"},
178 {0x00060000, GetModelNintendo2DS, "GetModelNintendo2DS"}, 178 {0x00060000, GetModelNintendo2DS, "GetModelNintendo2DS"},
179 {0x00070040, nullptr, "unknown"}, 179 {0x00070040, nullptr, "WriteToFirstByteCfgSavegame"},
180 {0x00080080, nullptr, "unknown"}, 180 {0x00080080, nullptr, "GoThroughTable"},
181 {0x00090040, GetCountryCodeString, "GetCountryCodeString"}, 181 {0x00090040, GetCountryCodeString, "GetCountryCodeString"},
182 {0x000A0040, GetCountryCodeID, "GetCountryCodeID"}, 182 {0x000A0040, GetCountryCodeID, "GetCountryCodeID"},
183}; 183};
diff --git a/src/core/hle/service/csnd_snd.cpp b/src/core/hle/service/csnd_snd.cpp
index aef8cfbca..3a557efe1 100644
--- a/src/core/hle/service/csnd_snd.cpp
+++ b/src/core/hle/service/csnd_snd.cpp
@@ -14,16 +14,15 @@ namespace CSND_SND {
14const Interface::FunctionInfo FunctionTable[] = { 14const Interface::FunctionInfo FunctionTable[] = {
15 {0x00010140, nullptr, "Initialize"}, 15 {0x00010140, nullptr, "Initialize"},
16 {0x00020000, nullptr, "Shutdown"}, 16 {0x00020000, nullptr, "Shutdown"},
17 {0x00030040, nullptr, "Unknown"}, 17 {0x00030040, nullptr, "ExecuteType0Commands"},
18 {0x00040080, nullptr, "Unknown"}, 18 {0x00040080, nullptr, "ExecuteType1Commands"},
19 {0x00050000, nullptr, "Unknown"}, 19 {0x00050000, nullptr, "AcquireSoundChannels"},
20 {0x00060000, nullptr, "Unknown"}, 20 {0x00060000, nullptr, "ReleaseSoundChannels"},
21 {0x00070000, nullptr, "Unknown"}, 21 {0x00070000, nullptr, "AcquireCaptureDevice"},
22 {0x00080040, nullptr, "Unknown"}, 22 {0x00080040, nullptr, "ReleaseCaptureDevice"},
23 {0x00090082, nullptr, "FlushDCache"}, 23 {0x00090082, nullptr, "FlushDCache"},
24 {0x000A0082, nullptr, "StoreDCache"}, 24 {0x000A0082, nullptr, "StoreDCache"},
25 {0x000B0082, nullptr, "InvalidateDCache"}, 25 {0x000B0082, nullptr, "InvalidateDCache"},
26 {0x000C0000, nullptr, "Unknown"},
27}; 26};
28 27
29//////////////////////////////////////////////////////////////////////////////////////////////////// 28////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/hle/service/ir_rst.cpp b/src/core/hle/service/ir_rst.cpp
index b388afb15..d49bd5335 100644
--- a/src/core/hle/service/ir_rst.cpp
+++ b/src/core/hle/service/ir_rst.cpp
@@ -15,12 +15,7 @@ const Interface::FunctionInfo FunctionTable[] = {
15 {0x00010000, nullptr, "GetHandles"}, 15 {0x00010000, nullptr, "GetHandles"},
16 {0x00020080, nullptr, "Initialize"}, 16 {0x00020080, nullptr, "Initialize"},
17 {0x00030000, nullptr, "Shutdown"}, 17 {0x00030000, nullptr, "Shutdown"},
18 {0x00040000, nullptr, "Unknown"}, 18 {0x00090000, nullptr, "WriteToTwoFields"},
19 {0x00050000, nullptr, "Unknown"},
20 {0x00060000, nullptr, "Unknown"},
21 {0x00070080, nullptr, "Unknown"},
22 {0x00080000, nullptr, "Unknown"},
23 {0x00090000, nullptr, "Unknown"},
24}; 19};
25 20
26//////////////////////////////////////////////////////////////////////////////////////////////////// 21////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/hle/service/ldr_ro.cpp b/src/core/hle/service/ldr_ro.cpp
index 9c9e90a40..7d6e2e8e8 100644
--- a/src/core/hle/service/ldr_ro.cpp
+++ b/src/core/hle/service/ldr_ro.cpp
@@ -13,10 +13,14 @@ namespace LDR_RO {
13 13
14const Interface::FunctionInfo FunctionTable[] = { 14const Interface::FunctionInfo FunctionTable[] = {
15 {0x000100C2, nullptr, "Initialize"}, 15 {0x000100C2, nullptr, "Initialize"},
16 {0x00020082, nullptr, "CRR_Load"}, 16 {0x00020082, nullptr, "LoadCRR"},
17 {0x00030042, nullptr, "CRR_Unload"}, 17 {0x00030042, nullptr, "UnloadCCR"},
18 {0x000402C2, nullptr, "CRO_LoadAndFix"}, 18 {0x000402C2, nullptr, "LoadExeCRO"},
19 {0x000500C2, nullptr, "CRO_ApplyRelocationPatchesAndLink"} 19 {0x000500C2, nullptr, "LoadCROSymbols"},
20 {0x00060042, nullptr, "CRO_Load?"},
21 {0x00070042, nullptr, "LoadCROSymbols"},
22 {0x00080042, nullptr, "Shutdown"},
23 {0x000902C2, nullptr, "LoadExeCRO_New?"},
20}; 24};
21 25
22//////////////////////////////////////////////////////////////////////////////////////////////////// 26////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/hle/service/ndm_u.cpp b/src/core/hle/service/ndm_u.cpp
index 233b14f6d..0f03de6ae 100644
--- a/src/core/hle/service/ndm_u.cpp
+++ b/src/core/hle/service/ndm_u.cpp
@@ -11,10 +11,13 @@
11namespace NDM_U { 11namespace NDM_U {
12 12
13const Interface::FunctionInfo FunctionTable[] = { 13const Interface::FunctionInfo FunctionTable[] = {
14 {0x00060040, nullptr, "SuspendDaemons"}, 14 {0x00010042, nullptr, "EnterExclusiveState"},
15 {0x00080040, nullptr, "DisableWifiUsage"}, 15 {0x00020002, nullptr, "LeaveExclusiveState"},
16 {0x00090000, nullptr, "EnableWifiUsage"}, 16 {0x00030000, nullptr, "QueryExclusiveMode"},
17 {0x00140040, nullptr, "OverrideDefaultDaemons"}, 17 {0x00060040, nullptr, "SuspendDaemons"},
18 {0x00080040, nullptr, "DisableWifiUsage"},
19 {0x00090000, nullptr, "EnableWifiUsage"},
20 {0x00140040, nullptr, "OverrideDefaultDaemons"},
18}; 21};
19 22
20//////////////////////////////////////////////////////////////////////////////////////////////////// 23////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/hle/service/srv.cpp b/src/core/hle/service/srv.cpp
index 25fab1a4f..912b52adf 100644
--- a/src/core/hle/service/srv.cpp
+++ b/src/core/hle/service/srv.cpp
@@ -52,13 +52,15 @@ static void GetServiceHandle(Service::Interface* self) {
52} 52}
53 53
54const Interface::FunctionInfo FunctionTable[] = { 54const Interface::FunctionInfo FunctionTable[] = {
55 {0x00010002, Initialize, "Initialize"}, 55 {0x00010002, Initialize, "Initialize"},
56 {0x00020000, GetProcSemaphore, "GetProcSemaphore"}, 56 {0x00020000, GetProcSemaphore, "GetProcSemaphore"},
57 {0x00030100, nullptr, "RegisterService"}, 57 {0x00030100, nullptr, "RegisterService"},
58 {0x000400C0, nullptr, "UnregisterService"}, 58 {0x000400C0, nullptr, "UnregisterService"},
59 {0x00050100, GetServiceHandle, "GetServiceHandle"}, 59 {0x00050100, GetServiceHandle, "GetServiceHandle"},
60 {0x000B0000, nullptr, "ReceiveNotification"}, 60 {0x000600C2, nullptr, "RegisterHandle"},
61 {0x000C0080, nullptr, "PublishToSubscriber"} 61 {0x00090040, nullptr, "Subscribe"},
62 {0x000B0000, nullptr, "ReceiveNotification"},
63 {0x000C0080, nullptr, "PublishToSubscriber"},
62}; 64};
63 65
64//////////////////////////////////////////////////////////////////////////////////////////////////// 66////////////////////////////////////////////////////////////////////////////////////////////////////