summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMai <mathew1800@gmail.com>2022-12-10 20:08:45 +0100
committerGitHub <noreply@github.com>2022-12-10 20:08:45 +0100
commita5bc86a9acabfb38799e7f7dd15fc5898c754d23 (patch)
treec0a0d9112b4256f88e51cea22dfb8442193a5959 /src
parentMerge pull request #9418 from liamwhite/implicitly-deleted (diff)
parentmemory: remove DEBUG_ASSERT pointer test (diff)
downloadyuzu-a5bc86a9acabfb38799e7f7dd15fc5898c754d23.tar
yuzu-a5bc86a9acabfb38799e7f7dd15fc5898c754d23.tar.gz
yuzu-a5bc86a9acabfb38799e7f7dd15fc5898c754d23.tar.bz2
yuzu-a5bc86a9acabfb38799e7f7dd15fc5898c754d23.tar.lz
yuzu-a5bc86a9acabfb38799e7f7dd15fc5898c754d23.tar.xz
yuzu-a5bc86a9acabfb38799e7f7dd15fc5898c754d23.tar.zst
yuzu-a5bc86a9acabfb38799e7f7dd15fc5898c754d23.zip
Diffstat (limited to 'src')
-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 3141122f1..b3f50223b 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;