diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2024-01-02 04:33:07 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2024-01-04 03:21:16 +0100 |
commit | 55623222908d2fd979de9ab101b1deff33a622f8 (patch) | |
tree | aba09a6d8801b28dbfb6c7f5f35b4a666db6d931 /src/core/hle/service/hid/controllers/controller_base.h | |
parent | service: hid: Implement NpadResource and NpadData (diff) | |
download | yuzu-55623222908d2fd979de9ab101b1deff33a622f8.tar yuzu-55623222908d2fd979de9ab101b1deff33a622f8.tar.gz yuzu-55623222908d2fd979de9ab101b1deff33a622f8.tar.bz2 yuzu-55623222908d2fd979de9ab101b1deff33a622f8.tar.lz yuzu-55623222908d2fd979de9ab101b1deff33a622f8.tar.xz yuzu-55623222908d2fd979de9ab101b1deff33a622f8.tar.zst yuzu-55623222908d2fd979de9ab101b1deff33a622f8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/hid/controllers/controller_base.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/controller_base.h b/src/core/hle/service/hid/controllers/controller_base.h index 759ae0053..b34b85ece 100644 --- a/src/core/hle/service/hid/controllers/controller_base.h +++ b/src/core/hle/service/hid/controllers/controller_base.h @@ -42,11 +42,13 @@ public: bool IsControllerActivated() const; - void SetAppletResource(std::shared_ptr<AppletResource> resource); + void SetAppletResource(std::shared_ptr<AppletResource> resource, + std::recursive_mutex* resource_mutex); protected: bool is_activated{false}; std::shared_ptr<AppletResource> applet_resource{nullptr}; + std::recursive_mutex* shared_mutex{nullptr}; Core::HID::HIDCore& hid_core; }; |