diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2022-11-05 13:25:29 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-05 13:25:29 -0400 |
| commit | 4c198bbf06fe7b72d4718cf3571e99b6169e9f47 (patch) | |
| tree | 3f091be57ce7198ee53b721b160a454ef6dee913 /src/core/hle/service | |
| parent | 8baf036cdc1c7b8bc1e6692b4e896cf4cbc6ae6d (diff) | |
| parent | cf0f821565570314c7a47ba332774f4d4c0fff71 (diff) | |
Merge pull request #9173 from bunnei/kern-update-15
Kernel: Various updates for FW 15.0.x
Diffstat (limited to 'src/core/hle/service')
| -rw-r--r-- | src/core/hle/service/nvdrv/devices/nvmap.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvmap.cpp b/src/core/hle/service/nvdrv/devices/nvmap.cpp index 44388655d..fa29db758 100644 --- a/src/core/hle/service/nvdrv/devices/nvmap.cpp +++ b/src/core/hle/service/nvdrv/devices/nvmap.cpp @@ -126,10 +126,12 @@ NvResult nvmap::IocAlloc(const std::vector<u8>& input, std::vector<u8>& output) LOG_CRITICAL(Service_NVDRV, "Object failed to allocate, handle={:08X}", params.handle); return result; } + bool is_out_io{}; ASSERT(system.CurrentProcess() ->PageTable() - .LockForMapDeviceAddressSpace(handle_description->address, handle_description->size, - Kernel::KMemoryPermission::None, true) + .LockForMapDeviceAddressSpace(&is_out_io, handle_description->address, + handle_description->size, + Kernel::KMemoryPermission::None, true, false) .IsSuccess()); std::memcpy(output.data(), ¶ms, sizeof(params)); return result; |
