diff options
Diffstat (limited to 'src/core/hle/service/hid/controllers/controller_base.h')
-rw-r--r-- | src/core/hle/service/hid/controllers/controller_base.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/hle/service/hid/controllers/controller_base.h b/src/core/hle/service/hid/controllers/controller_base.h index 7abe24f1d..47972f5fc 100644 --- a/src/core/hle/service/hid/controllers/controller_base.h +++ b/src/core/hle/service/hid/controllers/controller_base.h @@ -18,11 +18,11 @@ class System; namespace Service::HID { class ControllerBase { public: - ControllerBase(); + ControllerBase(Core::System& system); virtual ~ControllerBase(); // Called when the controller is initialized - virtual void OnInit(Core::System& system) = 0; + virtual void OnInit() = 0; // When the controller is released virtual void OnRelease() = 0; @@ -34,7 +34,7 @@ public: // Called when input devices should be loaded virtual void OnLoadInputDevices() = 0; - void ActivateController(Core::System& system); + void ActivateController(); void DeactivateController(); @@ -50,5 +50,7 @@ protected: s64_le entry_count; }; static_assert(sizeof(CommonHeader) == 0x20, "CommonHeader is an invalid size"); + + Core::System& system; }; } // namespace Service::HID |