diff options
author | Liam <byteslice@airmail.cc> | 2024-01-07 03:21:01 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-01-30 02:17:33 +0100 |
commit | 68303ed6016da0926df8b62e5a0c55c9b914f927 (patch) | |
tree | 35c805cffc86c668ae88641bd42358105ed6751a /src/core/hle/service/am/display_controller.h | |
parent | am: return AppletDataBroker and use for frontend applets (diff) | |
download | yuzu-68303ed6016da0926df8b62e5a0c55c9b914f927.tar yuzu-68303ed6016da0926df8b62e5a0c55c9b914f927.tar.gz yuzu-68303ed6016da0926df8b62e5a0c55c9b914f927.tar.bz2 yuzu-68303ed6016da0926df8b62e5a0c55c9b914f927.tar.lz yuzu-68303ed6016da0926df8b62e5a0c55c9b914f927.tar.xz yuzu-68303ed6016da0926df8b62e5a0c55c9b914f927.tar.zst yuzu-68303ed6016da0926df8b62e5a0c55c9b914f927.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/am/display_controller.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/hle/service/am/display_controller.h b/src/core/hle/service/am/display_controller.h index 32f819294..75172580c 100644 --- a/src/core/hle/service/am/display_controller.h +++ b/src/core/hle/service/am/display_controller.h @@ -7,9 +7,11 @@ namespace Service::AM { +struct Applet; + class IDisplayController final : public ServiceFramework<IDisplayController> { public: - explicit IDisplayController(Core::System& system_); + explicit IDisplayController(Core::System& system_, std::shared_ptr<Applet> applet_); ~IDisplayController() override; private: @@ -19,6 +21,10 @@ private: void ReleaseLastForegroundCaptureSharedBuffer(HLERequestContext& ctx); void AcquireCallerAppletCaptureSharedBuffer(HLERequestContext& ctx); void ReleaseCallerAppletCaptureSharedBuffer(HLERequestContext& ctx); + void AcquireLastApplicationCaptureSharedBuffer(HLERequestContext& ctx); + void ReleaseLastApplicationCaptureSharedBuffer(HLERequestContext& ctx); + + const std::shared_ptr<Applet> applet; }; } // namespace Service::AM |