diff options
Diffstat (limited to 'src/core/hle/service/hid/controllers/stubbed.h')
-rw-r--r-- | src/core/hle/service/hid/controllers/stubbed.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/core/hle/service/hid/controllers/stubbed.h b/src/core/hle/service/hid/controllers/stubbed.h index ec7adacb3..9c1b57f83 100644 --- a/src/core/hle/service/hid/controllers/stubbed.h +++ b/src/core/hle/service/hid/controllers/stubbed.h @@ -3,13 +3,14 @@ // Refer to the license.txt file included. #pragma once + #include "common/common_types.h" #include "core/hle/service/hid/controllers/controller_base.h" namespace Service::HID { class Controller_Stubbed final : public ControllerBase { public: - Controller_Stubbed() = default; + Controller_Stubbed(); // Called when the controller is initialized void OnInit() override; @@ -18,15 +19,15 @@ public: void OnRelease() override; // When the controller is requesting an update for the shared memory - void OnUpdate(u8* data, size_t size) override; + void OnUpdate(u8* data, std::size_t size) override; // Called when input devices should be loaded void OnLoadInputDevices() override; - void SetCommonHeaderOffset(size_t off); + void SetCommonHeaderOffset(std::size_t off); private: bool smart_update{}; - size_t common_offset{}; + std::size_t common_offset{}; }; -}; // namespace Service::HID +} // namespace Service::HID |