diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-10-06 05:14:42 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-10-10 04:15:37 +0200 |
commit | 5857aea94ef52186f64a6794adf418ba92329329 (patch) | |
tree | 24223b61b3165725a07bbf421817c1ec34b02abe /src/core/hle/service/hid/controllers/debug_pad.h | |
parent | "Better Hid" rework part 1 (diff) | |
download | yuzu-5857aea94ef52186f64a6794adf418ba92329329.tar yuzu-5857aea94ef52186f64a6794adf418ba92329329.tar.gz yuzu-5857aea94ef52186f64a6794adf418ba92329329.tar.bz2 yuzu-5857aea94ef52186f64a6794adf418ba92329329.tar.lz yuzu-5857aea94ef52186f64a6794adf418ba92329329.tar.xz yuzu-5857aea94ef52186f64a6794adf418ba92329329.tar.zst yuzu-5857aea94ef52186f64a6794adf418ba92329329.zip |
Diffstat (limited to 'src/core/hle/service/hid/controllers/debug_pad.h')
-rw-r--r-- | src/core/hle/service/hid/controllers/debug_pad.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/hle/service/hid/controllers/debug_pad.h b/src/core/hle/service/hid/controllers/debug_pad.h index fc6f99a0b..e35675fa1 100644 --- a/src/core/hle/service/hid/controllers/debug_pad.h +++ b/src/core/hle/service/hid/controllers/debug_pad.h @@ -3,6 +3,7 @@ // Refer to the license.txt file included. #pragma once + #include <array> #include "common/common_funcs.h" #include "common/common_types.h" @@ -12,7 +13,7 @@ namespace Service::HID { class Controller_DebugPad final : public ControllerBase { public: - Controller_DebugPad() = default; + Controller_DebugPad(); // Called when the controller is initialized void OnInit() override; @@ -21,7 +22,7 @@ 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; @@ -51,4 +52,4 @@ private: static_assert(sizeof(SharedMemory) == 0x400, "SharedMemory is an invalid size"); SharedMemory shared_memory{}; }; -}; // namespace Service::HID +} // namespace Service::HID |