diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-12-30 23:08:55 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-01-19 03:12:30 +0100 |
commit | b0bca0f8b04de630f9dec47cff14a640d40f65db (patch) | |
tree | c1723cc631a573340e1393aa81939fa1ce5dfad0 /src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp | |
parent | SMMU: Add continuity tracking optimization. (diff) | |
download | yuzu-b0bca0f8b04de630f9dec47cff14a640d40f65db.tar yuzu-b0bca0f8b04de630f9dec47cff14a640d40f65db.tar.gz yuzu-b0bca0f8b04de630f9dec47cff14a640d40f65db.tar.bz2 yuzu-b0bca0f8b04de630f9dec47cff14a640d40f65db.tar.lz yuzu-b0bca0f8b04de630f9dec47cff14a640d40f65db.tar.xz yuzu-b0bca0f8b04de630f9dec47cff14a640d40f65db.tar.zst yuzu-b0bca0f8b04de630f9dec47cff14a640d40f65db.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp b/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp index a50577c75..a0a7bfa40 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp +++ b/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp @@ -140,7 +140,7 @@ NvResult nvhost_nvdec_common::MapBuffer(IoctlMapBuffer& params, std::span<MapBuf DeviceFD fd) { const size_t num_entries = std::min(params.num_entries, static_cast<u32>(entries.size())); for (size_t i = 0; i < num_entries; i++) { - DAddr pin_address = nvmap.PinHandle(entries[i].map_handle, sessions[fd], true); + DAddr pin_address = nvmap.PinHandle(entries[i].map_handle, true); entries[i].map_address = static_cast<u32>(pin_address); } |