From 182137a9a4b09c8188d2cbffa312550c5dc83641 Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 2 Jan 2024 18:29:03 -0500 Subject: am: migrate global state to per-applet state structure --- src/core/hle/service/am/system_applet_proxy.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/core/hle/service/am/system_applet_proxy.h') diff --git a/src/core/hle/service/am/system_applet_proxy.h b/src/core/hle/service/am/system_applet_proxy.h index b8855b1d6..0390cd1e5 100644 --- a/src/core/hle/service/am/system_applet_proxy.h +++ b/src/core/hle/service/am/system_applet_proxy.h @@ -8,11 +8,13 @@ namespace Service::AM { +struct Applet; + class ISystemAppletProxy final : public ServiceFramework { public: explicit ISystemAppletProxy(Nvnflinger::Nvnflinger& nvnflinger_, - std::shared_ptr msg_queue_, - Core::System& system_); + std::shared_ptr applet_, Core::System& system_); + ~ISystemAppletProxy(); private: void GetCommonStateGetter(HLERequestContext& ctx); @@ -28,7 +30,7 @@ private: void GetDebugFunctions(HLERequestContext& ctx); Nvnflinger::Nvnflinger& nvnflinger; - std::shared_ptr msg_queue; + std::shared_ptr applet; }; } // namespace Service::AM -- cgit v1.2.3