summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/applet_ae.cpp
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-10-01 21:00:30 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2023-10-08 04:57:10 +0200
commit0bb7990c4919b466658c8d75927ae92a76e86877 (patch)
treef08cb1c83a60fbd821642f70b41b5b8a2adc49a6 /src/core/hle/service/am/applet_ae.cpp
parentservice: caps: Partially implement IAlbumAccessorService (diff)
downloadyuzu-0bb7990c4919b466658c8d75927ae92a76e86877.tar
yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.tar.gz
yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.tar.bz2
yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.tar.lz
yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.tar.xz
yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.tar.zst
yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.zip
Diffstat (limited to 'src/core/hle/service/am/applet_ae.cpp')
-rw-r--r--src/core/hle/service/am/applet_ae.cpp20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/core/hle/service/am/applet_ae.cpp b/src/core/hle/service/am/applet_ae.cpp
index eb12312cc..e30e6478a 100644
--- a/src/core/hle/service/am/applet_ae.cpp
+++ b/src/core/hle/service/am/applet_ae.cpp
@@ -28,8 +28,8 @@ public:
{11, &ILibraryAppletProxy::GetLibraryAppletCreator, "GetLibraryAppletCreator"},
{20, &ILibraryAppletProxy::OpenLibraryAppletSelfAccessor, "OpenLibraryAppletSelfAccessor"},
{21, &ILibraryAppletProxy::GetAppletCommonFunctions, "GetAppletCommonFunctions"},
- {22, nullptr, "GetHomeMenuFunctions"},
- {23, nullptr, "GetGlobalStateController"},
+ {22, &ILibraryAppletProxy::GetHomeMenuFunctions, "GetHomeMenuFunctions"},
+ {23, &ILibraryAppletProxy::GetGlobalStateController, "GetGlobalStateController"},
{1000, &ILibraryAppletProxy::GetDebugFunctions, "GetDebugFunctions"},
};
// clang-format on
@@ -110,6 +110,22 @@ private:
rb.PushIpcInterface<IAppletCommonFunctions>(system);
}
+ void GetHomeMenuFunctions(HLERequestContext& ctx) {
+ LOG_DEBUG(Service_AM, "called");
+
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(ResultSuccess);
+ rb.PushIpcInterface<IHomeMenuFunctions>(system);
+ }
+
+ void GetGlobalStateController(HLERequestContext& ctx) {
+ LOG_DEBUG(Service_AM, "called");
+
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(ResultSuccess);
+ rb.PushIpcInterface<IGlobalStateController>(system);
+ }
+
void GetDebugFunctions(HLERequestContext& ctx) {
LOG_DEBUG(Service_AM, "called");