aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorMai <mathew1800@gmail.com>2022-12-10 19:08:45 +0000
committerGitHub <noreply@github.com>2022-12-10 19:08:45 +0000
commit70c9f6000dfc68e98fee02e3b3d6f7f45b07ee2e (patch)
treec0a0d9112b4256f88e51cea22dfb8442193a5959 /src/core
parentc3857200a3688ac9d30ddaab89375adc1ea50dd0 (diff)
parent8a5667aa708550b89f03ac1733e864e6c87ff4e4 (diff)
Merge pull request #9417 from liamwhite/debug-assert
memory: remove DEBUG_ASSERT pointer test
Diffstat (limited to 'src/core')
-rw-r--r--src/core/memory.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/memory.cpp b/src/core/memory.cpp
index 3141122f13..b3f50223b4 100644
--- a/src/core/memory.cpp
+++ b/src/core/memory.cpp
@@ -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;