diff options
author | german77 <juangerman-13@hotmail.com> | 2021-11-05 02:05:58 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-25 03:30:27 +0100 |
commit | e7eee36d52259321b938c350cb37a3b115953229 (patch) | |
tree | 8ca3f8f69829f6e5e80311ecf7224455c1a11107 /src/core/hle/service/hid/controllers/console_sixaxis.cpp | |
parent | UI nits (diff) | |
download | yuzu-e7eee36d52259321b938c350cb37a3b115953229.tar yuzu-e7eee36d52259321b938c350cb37a3b115953229.tar.gz yuzu-e7eee36d52259321b938c350cb37a3b115953229.tar.bz2 yuzu-e7eee36d52259321b938c350cb37a3b115953229.tar.lz yuzu-e7eee36d52259321b938c350cb37a3b115953229.tar.xz yuzu-e7eee36d52259321b938c350cb37a3b115953229.tar.zst yuzu-e7eee36d52259321b938c350cb37a3b115953229.zip |
Diffstat (limited to 'src/core/hle/service/hid/controllers/console_sixaxis.cpp')
-rw-r--r-- | src/core/hle/service/hid/controllers/console_sixaxis.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/hid/controllers/console_sixaxis.cpp b/src/core/hle/service/hid/controllers/console_sixaxis.cpp index 2bebcf0d0..ea7e8f18f 100644 --- a/src/core/hle/service/hid/controllers/console_sixaxis.cpp +++ b/src/core/hle/service/hid/controllers/console_sixaxis.cpp @@ -3,17 +3,17 @@ // Refer to the license.txt file included. #include "common/settings.h" -#include "core/core.h" #include "core/core_timing.h" #include "core/hid/emulated_console.h" +#include "core/hid/hid_core.h" #include "core/hle/service/hid/controllers/console_sixaxis.h" namespace Service::HID { constexpr std::size_t SHARED_MEMORY_OFFSET = 0x3C200; -Controller_ConsoleSixAxis::Controller_ConsoleSixAxis(Core::System& system_) - : ControllerBase{system_} { - console = system.HIDCore().GetEmulatedConsole(); +Controller_ConsoleSixAxis::Controller_ConsoleSixAxis(Core::HID::HIDCore& hid_core_) + : ControllerBase{hid_core_} { + console = hid_core.GetEmulatedConsole(); } Controller_ConsoleSixAxis::~Controller_ConsoleSixAxis() = default; |