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/mouse.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 '')
-rw-r--r-- | src/core/hle/service/hid/controllers/mouse.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/hle/service/hid/controllers/mouse.cpp b/src/core/hle/service/hid/controllers/mouse.cpp index 21f7e48bb..83e69ca94 100644 --- a/src/core/hle/service/hid/controllers/mouse.cpp +++ b/src/core/hle/service/hid/controllers/mouse.cpp @@ -4,7 +4,6 @@ #include <cstring> #include "common/common_types.h" -#include "core/core.h" #include "core/core_timing.h" #include "core/frontend/emu_window.h" #include "core/hid/emulated_devices.h" @@ -14,8 +13,8 @@ namespace Service::HID { constexpr std::size_t SHARED_MEMORY_OFFSET = 0x3400; -Controller_Mouse::Controller_Mouse(Core::System& system_) : ControllerBase{system_} { - emulated_devices = system.HIDCore().GetEmulatedDevices(); +Controller_Mouse::Controller_Mouse(Core::HID::HIDCore& hid_core_) : ControllerBase{hid_core_} { + emulated_devices = hid_core.GetEmulatedDevices(); } Controller_Mouse::~Controller_Mouse() = default; |