summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar bunnei2015-01-20 12:55:53 -0500
committerGravatar bunnei2015-01-20 12:55:53 -0500
commitcbbe9e1500dacd3faaa9a93ecc4b10e5d96ee959 (patch)
tree129d5377fb7190121e2ba1c26a3b771ea76daf8a /src/core
parentMerge pull request #241 from linkmauve/better-loader (diff)
parentExpose GetSharedFont and NotifyToWait to APT:A and APT:S respectively (diff)
downloadyuzu-cbbe9e1500dacd3faaa9a93ecc4b10e5d96ee959.tar.gz
yuzu-cbbe9e1500dacd3faaa9a93ecc4b10e5d96ee959.tar.xz
yuzu-cbbe9e1500dacd3faaa9a93ecc4b10e5d96ee959.zip
Merge pull request #492 from archshift/apt
Expose GetSharedFont and NotifyToWait to APT:A and APT:S respectively
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/apt_a.cpp2
-rw-r--r--src/core/hle/service/apt_s.cpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/core/hle/service/apt_a.cpp b/src/core/hle/service/apt_a.cpp
index 37be4b027..42f2879c1 100644
--- a/src/core/hle/service/apt_a.cpp
+++ b/src/core/hle/service/apt_a.cpp
@@ -11,6 +11,7 @@ namespace APT_U {
11 extern void GetLockHandle(Service::Interface* self); 11 extern void GetLockHandle(Service::Interface* self);
12 extern void ReceiveParameter(Service::Interface* self); 12 extern void ReceiveParameter(Service::Interface* self);
13 extern void GlanceParameter(Service::Interface* self); 13 extern void GlanceParameter(Service::Interface* self);
14 extern void GetSharedFont(Service::Interface* self);
14} 15}
15 16
16//////////////////////////////////////////////////////////////////////////////////////////////////// 17////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -29,6 +30,7 @@ const Interface::FunctionInfo FunctionTable[] = {
29 {0x000E0080, APT_U::GlanceParameter, "GlanceParameter?"}, 30 {0x000E0080, APT_U::GlanceParameter, "GlanceParameter?"},
30 {0x003B0040, nullptr, "CancelLibraryApplet?"}, 31 {0x003B0040, nullptr, "CancelLibraryApplet?"},
31 {0x00430040, nullptr, "NotifyToWait?"}, 32 {0x00430040, nullptr, "NotifyToWait?"},
33 {0x00440000, APT_U::GetSharedFont, "GetSharedFont?"},
32 {0x004B00C2, nullptr, "AppletUtility?"}, 34 {0x004B00C2, nullptr, "AppletUtility?"},
33 {0x00550040, nullptr, "WriteInputToNsState?"}, 35 {0x00550040, nullptr, "WriteInputToNsState?"},
34}; 36};
diff --git a/src/core/hle/service/apt_s.cpp b/src/core/hle/service/apt_s.cpp
index f4599e19d..31e6653ef 100644
--- a/src/core/hle/service/apt_s.cpp
+++ b/src/core/hle/service/apt_s.cpp
@@ -20,6 +20,7 @@ namespace APT_U {
20 extern void Initialize(Service::Interface* self); 20 extern void Initialize(Service::Interface* self);
21 extern void Enable(Service::Interface* self); 21 extern void Enable(Service::Interface* self);
22 extern void InquireNotification(Service::Interface* self); 22 extern void InquireNotification(Service::Interface* self);
23 extern void NotifyToWait(Service::Interface* self);
23 extern void GetSharedFont(Service::Interface* self); 24 extern void GetSharedFont(Service::Interface* self);
24 extern void AppletUtility(Service::Interface* self); 25 extern void AppletUtility(Service::Interface* self);
25 extern void GlanceParameter(Service::Interface* self); 26 extern void GlanceParameter(Service::Interface* self);
@@ -95,7 +96,7 @@ const Interface::FunctionInfo FunctionTable[] = {
95 {0x00400042, nullptr, "SendCaptureBufferInfo"}, 96 {0x00400042, nullptr, "SendCaptureBufferInfo"},
96 {0x00410040, nullptr, "ReceiveCaptureBufferInfo"}, 97 {0x00410040, nullptr, "ReceiveCaptureBufferInfo"},
97 {0x00420080, nullptr, "SleepSystem"}, 98 {0x00420080, nullptr, "SleepSystem"},
98 {0x00430040, nullptr, "NotifyToWait"}, 99 {0x00430040, APT_U::NotifyToWait, "NotifyToWait"},
99 {0x00440000, APT_U::GetSharedFont, "GetSharedFont"}, 100 {0x00440000, APT_U::GetSharedFont, "GetSharedFont"},
100 {0x00450040, nullptr, "GetWirelessRebootInfo"}, 101 {0x00450040, nullptr, "GetWirelessRebootInfo"},
101 {0x00460104, nullptr, "Wrap"}, 102 {0x00460104, nullptr, "Wrap"},