summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/xpad.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/hid/controllers/xpad.h')
-rw-r--r--src/core/hle/service/hid/controllers/xpad.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/controllers/xpad.h b/src/core/hle/service/hid/controllers/xpad.h
index 8522efd50..813cb7755 100644
--- a/src/core/hle/service/hid/controllers/xpad.h
+++ b/src/core/hle/service/hid/controllers/xpad.h
@@ -12,11 +12,11 @@
namespace Service::HID {
class Controller_XPad final : public ControllerBase {
public:
- Controller_XPad();
+ Controller_XPad(Core::System& system);
~Controller_XPad() override;
// Called when the controller is initialized
- void OnInit(Core::System& system) override;
+ void OnInit() override;
// When the controller is released
void OnRelease() override;
@@ -56,5 +56,6 @@ private:
};
static_assert(sizeof(SharedMemory) == 0x1000, "SharedMemory is an invalid size");
SharedMemory shared_memory{};
+ Core::System& system;
};
} // namespace Service::HID