diff options
author | Liam <byteslice@airmail.cc> | 2023-02-24 18:29:55 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-02-24 18:48:07 +0100 |
commit | de4e5db3300cc77694ff154cf3e8a3ba9c9eaf78 (patch) | |
tree | 65cfc240522bc045bd5e5de3c7e6530b26c7c482 /src/core/hle/service/hid/hidbus.h | |
parent | Merge pull request #9842 from german77/proper_real_mouse (diff) | |
download | yuzu-de4e5db3300cc77694ff154cf3e8a3ba9c9eaf78.tar yuzu-de4e5db3300cc77694ff154cf3e8a3ba9c9eaf78.tar.gz yuzu-de4e5db3300cc77694ff154cf3e8a3ba9c9eaf78.tar.bz2 yuzu-de4e5db3300cc77694ff154cf3e8a3ba9c9eaf78.tar.lz yuzu-de4e5db3300cc77694ff154cf3e8a3ba9c9eaf78.tar.xz yuzu-de4e5db3300cc77694ff154cf3e8a3ba9c9eaf78.tar.zst yuzu-de4e5db3300cc77694ff154cf3e8a3ba9c9eaf78.zip |
Diffstat (limited to 'src/core/hle/service/hid/hidbus.h')
-rw-r--r-- | src/core/hle/service/hid/hidbus.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/hidbus.h b/src/core/hle/service/hid/hidbus.h index 8c687f678..9a4702021 100644 --- a/src/core/hle/service/hid/hidbus.h +++ b/src/core/hle/service/hid/hidbus.h @@ -115,8 +115,7 @@ private: void MakeDevice(BusHandle handle) { const auto device_index = GetDeviceIndexFromHandle(handle); if (device_index) { - devices[device_index.value()].device = - std::make_unique<T>(system.HIDCore(), service_context); + devices[device_index.value()].device = std::make_unique<T>(system, service_context); } } |