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.cpp | |
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.cpp')
-rw-r--r-- | src/core/hle/service/hid/hidbus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hidbus.cpp b/src/core/hle/service/hid/hidbus.cpp index bd94e8f3d..da1c8415c 100644 --- a/src/core/hle/service/hid/hidbus.cpp +++ b/src/core/hle/service/hid/hidbus.cpp @@ -472,7 +472,7 @@ void HidBus::EnableJoyPollingReceiveMode(Kernel::HLERequestContext& ctx) { if (device_index) { auto& device = devices[device_index.value()].device; device->SetPollingMode(polling_mode_); - device->SetTransferMemoryPointer(system.Memory().GetPointer(t_mem->GetSourceAddress())); + device->SetTransferMemoryAddress(t_mem->GetSourceAddress()); IPC::ResponseBuilder rb{ctx, 2}; rb.Push(ResultSuccess); |