summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hid.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-11-05 02:05:58 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-25 03:30:27 +0100
commite7eee36d52259321b938c350cb37a3b115953229 (patch)
tree8ca3f8f69829f6e5e80311ecf7224455c1a11107 /src/core/hle/service/hid/hid.h
parent UI nits (diff)
downloadyuzu-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/hid.h')
-rw-r--r--src/core/hle/service/hid/hid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/hid.h b/src/core/hle/service/hid/hid.h
index 2e0c33c1c..973e6a8ac 100644
--- a/src/core/hle/service/hid/hid.h
+++ b/src/core/hle/service/hid/hid.h
@@ -60,12 +60,12 @@ public:
private:
template <typename T>
void MakeController(HidController controller) {
- controllers[static_cast<std::size_t>(controller)] = std::make_unique<T>(system);
+ controllers[static_cast<std::size_t>(controller)] = std::make_unique<T>(system.HIDCore());
}
template <typename T>
void MakeControllerWithServiceContext(HidController controller) {
controllers[static_cast<std::size_t>(controller)] =
- std::make_unique<T>(system, service_context);
+ std::make_unique<T>(system.HIDCore(), service_context);
}
void GetSharedMemoryHandle(Kernel::HLERequestContext& ctx);