summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/applet_ae.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-01-03 00:29:03 +0100
committerLiam <byteslice@airmail.cc>2024-01-30 02:17:33 +0100
commit182137a9a4b09c8188d2cbffa312550c5dc83641 (patch)
treeaf62d2ecf774e7790c227cb0984e5392deca5afe /src/core/hle/service/am/applet_ae.h
parentam: retrieve main applet creation info from frontend (diff)
downloadyuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.tar
yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.tar.gz
yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.tar.bz2
yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.tar.lz
yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.tar.xz
yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.tar.zst
yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.zip
Diffstat (limited to 'src/core/hle/service/am/applet_ae.h')
-rw-r--r--src/core/hle/service/am/applet_ae.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/core/hle/service/am/applet_ae.h b/src/core/hle/service/am/applet_ae.h
index 538ce2903..3d7961fa1 100644
--- a/src/core/hle/service/am/applet_ae.h
+++ b/src/core/hle/service/am/applet_ae.h
@@ -18,23 +18,21 @@ class Nvnflinger;
namespace AM {
-class AppletMessageQueue;
+struct Applet;
class AppletAE final : public ServiceFramework<AppletAE> {
public:
- explicit AppletAE(Nvnflinger::Nvnflinger& nvnflinger_,
- std::shared_ptr<AppletMessageQueue> msg_queue_, Core::System& system_);
+ explicit AppletAE(Nvnflinger::Nvnflinger& nvnflinger_, Core::System& system_);
~AppletAE() override;
- const std::shared_ptr<AppletMessageQueue>& GetMessageQueue() const;
-
private:
void OpenSystemAppletProxy(HLERequestContext& ctx);
void OpenLibraryAppletProxy(HLERequestContext& ctx);
void OpenLibraryAppletProxyOld(HLERequestContext& ctx);
+ std::shared_ptr<Applet> GetAppletFromContext(HLERequestContext& ctx);
+
Nvnflinger::Nvnflinger& nvnflinger;
- std::shared_ptr<AppletMessageQueue> msg_queue;
};
} // namespace AM