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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue