mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-04 23:35:12 +01:00
Avoid GetPointer on nvmap handles where they would be accessed via SMMU
GetPointer sets the sharedMemMapped flag, which should only be set if other userspace processes have the handle mapped.
This commit is contained in:
parent
fd0420443c
commit
2577658fc7
@ -151,7 +151,7 @@ namespace skyline::service::nvdrv::core {
|
||||
}
|
||||
}
|
||||
|
||||
state.soc->smmu.Map(address, handleDesc->GetPointer(), static_cast<u32>(handleDesc->alignedSize));
|
||||
state.soc->smmu.Map(address, reinterpret_cast<u8 *>(handleDesc->address), static_cast<u32>(handleDesc->alignedSize));
|
||||
handleDesc->pinVirtAddress = address;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user