summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/applet_ae.cpp
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2023-10-10 11:47:13 +0200
committerGitHub <noreply@github.com>2023-10-10 11:47:13 +0200
commit8151a4d30121bb75500c94c1e70d665ba63146c8 (patch)
tree8478fc8d71394061bb204049a0564cd1257bd1f7 /src/core/hle/service/am/applet_ae.cpp
parentMerge pull request #11686 from liamwhite/trmem (diff)
parentservice: caps: Implement album manager and reorganize service (diff)
downloadyuzu-8151a4d30121bb75500c94c1e70d665ba63146c8.tar
yuzu-8151a4d30121bb75500c94c1e70d665ba63146c8.tar.gz
yuzu-8151a4d30121bb75500c94c1e70d665ba63146c8.tar.bz2
yuzu-8151a4d30121bb75500c94c1e70d665ba63146c8.tar.lz
yuzu-8151a4d30121bb75500c94c1e70d665ba63146c8.tar.xz
yuzu-8151a4d30121bb75500c94c1e70d665ba63146c8.tar.zst
yuzu-8151a4d30121bb75500c94c1e70d665ba63146c8.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");