mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-27 07:14:23 +01:00
memory: Convert ASSERT into a DEBUG_ASSERT within GetPointerFromVMA()
Given memory should always be expected to be valid during normal execution, this should be a debug assertion, rather than a check in regular builds.
This commit is contained in:
parent
d4c1b9d311
commit
15e3d4f357
@ -128,7 +128,7 @@ static u8* GetPointerFromVMA(const Kernel::Process& process, VAddr vaddr) {
|
||||
const auto& vm_manager = process.VMManager();
|
||||
|
||||
const auto it = vm_manager.FindVMA(vaddr);
|
||||
ASSERT(vm_manager.IsValidHandle(it));
|
||||
DEBUG_ASSERT(vm_manager.IsValidHandle(it));
|
||||
|
||||
u8* direct_pointer = nullptr;
|
||||
const auto& vma = it->second;
|
||||
|
Loading…
Reference in New Issue
Block a user