summaryrefslogtreecommitdiff
path: root/src/core/memory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/memory.cpp')
-rw-r--r--src/core/memory.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/memory.cpp b/src/core/memory.cpp
index df029d655..64c388374 100644
--- a/src/core/memory.cpp
+++ b/src/core/memory.cpp
@@ -251,6 +251,9 @@ bool IsValidVirtualAddress(const VAddr vaddr) {
251 if (page_pointer) 251 if (page_pointer)
252 return true; 252 return true;
253 253
254 if (current_page_table->attributes[vaddr >> PAGE_BITS] == PageType::RasterizerCachedMemory)
255 return true;
256
254 if (current_page_table->attributes[vaddr >> PAGE_BITS] != PageType::Special) 257 if (current_page_table->attributes[vaddr >> PAGE_BITS] != PageType::Special)
255 return false; 258 return false;
256 259