summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/debug_pad.cpp
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2019-09-22 08:41:34 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2019-09-22 08:41:34 +0200
commitbd1c4ec9a008af9654385ce4f7a96b81a52c9ff6 (patch)
treeb432d1cdfe0c5d40af58717f126c91a5d7fd2ab4 /src/core/hle/service/hid/controllers/debug_pad.cpp
parentRebase (diff)
downloadyuzu-bd1c4ec9a008af9654385ce4f7a96b81a52c9ff6.tar
yuzu-bd1c4ec9a008af9654385ce4f7a96b81a52c9ff6.tar.gz
yuzu-bd1c4ec9a008af9654385ce4f7a96b81a52c9ff6.tar.bz2
yuzu-bd1c4ec9a008af9654385ce4f7a96b81a52c9ff6.tar.lz
yuzu-bd1c4ec9a008af9654385ce4f7a96b81a52c9ff6.tar.xz
yuzu-bd1c4ec9a008af9654385ce4f7a96b81a52c9ff6.tar.zst
yuzu-bd1c4ec9a008af9654385ce4f7a96b81a52c9ff6.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/hid/controllers/debug_pad.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/controllers/debug_pad.cpp b/src/core/hle/service/hid/controllers/debug_pad.cpp
index 2c5528b67..8e8263f5b 100644
--- a/src/core/hle/service/hid/controllers/debug_pad.cpp
+++ b/src/core/hle/service/hid/controllers/debug_pad.cpp
@@ -14,10 +14,11 @@ constexpr s32 HID_JOYSTICK_MAX = 0x7fff;
constexpr s32 HID_JOYSTICK_MIN = -0x7fff;
enum class JoystickId : std::size_t { Joystick_Left, Joystick_Right };
-Controller_DebugPad::Controller_DebugPad() = default;
+Controller_DebugPad::Controller_DebugPad(Core::System& system)
+ : ControllerBase(system), system(system) {}
Controller_DebugPad::~Controller_DebugPad() = default;
-void Controller_DebugPad::OnInit(Core::System& system) {}
+void Controller_DebugPad::OnInit() {}
void Controller_DebugPad::OnRelease() {}