diff options
| author | Liam <byteslice@airmail.cc> | 2022-12-10 13:02:38 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2022-12-10 13:02:38 -0500 |
| commit | 8a5667aa708550b89f03ac1733e864e6c87ff4e4 (patch) | |
| tree | 4e05523170de2581895eba1cccee28a010712e45 /src/core/memory.cpp | |
| parent | 4b400680380f5b59e124d4f12a14420161c40114 (diff) | |
memory: remove DEBUG_ASSERT pointer test
Diffstat (limited to 'src/core/memory.cpp')
| -rw-r--r-- | src/core/memory.cpp | 2 |
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; |
