mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 19:32:44 +01:00
memory: remove DEBUG_ASSERT pointer test
This commit is contained in:
parent
f6e705737a
commit
985ed1e160
1 changed files with 0 additions and 2 deletions
|
@ -195,13 +195,11 @@ struct Memory::Impl {
|
|||
break;
|
||||
}
|
||||
case Common::PageType::Memory: {
|
||||
DEBUG_ASSERT(pointer);
|
||||
u8* mem_ptr = pointer + page_offset + (page_index << YUZU_PAGEBITS);
|
||||
on_memory(copy_amount, mem_ptr);
|
||||
break;
|
||||
}
|
||||
case Common::PageType::DebugMemory: {
|
||||
DEBUG_ASSERT(pointer);
|
||||
u8* const mem_ptr{GetPointerFromDebugMemory(current_vaddr)};
|
||||
on_memory(copy_amount, mem_ptr);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue