diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-02-28 01:46:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-28 01:46:10 +0100 |
commit | 22432668be6d34b5a5275bcc631cadf512f36bf9 (patch) | |
tree | 88aeebd3448ad8fa701914839c0b1f3c876c62ac /src/core/hle/service/hid/hidbus.cpp | |
parent | Merge pull request #9874 from german77/violet (diff) | |
parent | am: avoid direct pointer access of transfer memory objects (diff) | |
download | yuzu-22432668be6d34b5a5275bcc631cadf512f36bf9.tar yuzu-22432668be6d34b5a5275bcc631cadf512f36bf9.tar.gz yuzu-22432668be6d34b5a5275bcc631cadf512f36bf9.tar.bz2 yuzu-22432668be6d34b5a5275bcc631cadf512f36bf9.tar.lz yuzu-22432668be6d34b5a5275bcc631cadf512f36bf9.tar.xz yuzu-22432668be6d34b5a5275bcc631cadf512f36bf9.tar.zst yuzu-22432668be6d34b5a5275bcc631cadf512f36bf9.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 8dbb2cf50..07199d5d5 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); |