diff options
author | Liam <byteslice@airmail.cc> | 2023-02-19 14:44:54 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-02-21 18:19:25 +0100 |
commit | 6e0a33089b97747ea0e3dc9d57e19223d420c98a (patch) | |
tree | 64e746021d186e84053c14f186f6434c69fcf910 /src/core/hle/service/sm/sm.h | |
parent | service: refactor server architecture (diff) | |
download | yuzu-6e0a33089b97747ea0e3dc9d57e19223d420c98a.tar yuzu-6e0a33089b97747ea0e3dc9d57e19223d420c98a.tar.gz yuzu-6e0a33089b97747ea0e3dc9d57e19223d420c98a.tar.bz2 yuzu-6e0a33089b97747ea0e3dc9d57e19223d420c98a.tar.lz yuzu-6e0a33089b97747ea0e3dc9d57e19223d420c98a.tar.xz yuzu-6e0a33089b97747ea0e3dc9d57e19223d420c98a.tar.zst yuzu-6e0a33089b97747ea0e3dc9d57e19223d420c98a.zip |
Diffstat (limited to 'src/core/hle/service/sm/sm.h')
-rw-r--r-- | src/core/hle/service/sm/sm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/service/sm/sm.h b/src/core/hle/service/sm/sm.h index 22ca720f8..b7eeafdd6 100644 --- a/src/core/hle/service/sm/sm.h +++ b/src/core/hle/service/sm/sm.h @@ -71,6 +71,10 @@ public: void InvokeControlRequest(Kernel::HLERequestContext& context); + void SetDeferralEvent(Kernel::KEvent* deferral_event_) { + deferral_event = deferral_event_; + } + private: std::shared_ptr<SM> sm_interface; std::unique_ptr<Controller> controller_interface; @@ -82,6 +86,7 @@ private: /// Kernel context Kernel::KernelCore& kernel; + Kernel::KEvent* deferral_event{}; }; /// Runs SM services. |