diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2019-09-21 10:43:43 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2019-09-22 08:30:29 +0200 |
commit | 28181919a60c21d9c217fd56b9994fa7778a87c4 (patch) | |
tree | 0fe18715b0937b86d5e7d7824f000ce26088b06a /src/core/hle/service/hid/controllers/controller_base.cpp | |
parent | Deglobalize System: Friend (diff) | |
download | yuzu-28181919a60c21d9c217fd56b9994fa7778a87c4.tar yuzu-28181919a60c21d9c217fd56b9994fa7778a87c4.tar.gz yuzu-28181919a60c21d9c217fd56b9994fa7778a87c4.tar.bz2 yuzu-28181919a60c21d9c217fd56b9994fa7778a87c4.tar.lz yuzu-28181919a60c21d9c217fd56b9994fa7778a87c4.tar.xz yuzu-28181919a60c21d9c217fd56b9994fa7778a87c4.tar.zst yuzu-28181919a60c21d9c217fd56b9994fa7778a87c4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/hid/controllers/controller_base.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/controllers/controller_base.cpp b/src/core/hle/service/hid/controllers/controller_base.cpp index 0993a7815..cc935b031 100644 --- a/src/core/hle/service/hid/controllers/controller_base.cpp +++ b/src/core/hle/service/hid/controllers/controller_base.cpp @@ -9,12 +9,12 @@ namespace Service::HID { ControllerBase::ControllerBase() = default; ControllerBase::~ControllerBase() = default; -void ControllerBase::ActivateController() { +void ControllerBase::ActivateController(Core::System& system) { if (is_activated) { OnRelease(); } is_activated = true; - OnInit(); + OnInit(system); } void ControllerBase::DeactivateController() { |