summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-07-23 04:38:21 +0200
committerbunnei <bunneidev@gmail.com>2014-08-06 05:54:28 +0200
commitc48ab0bd9e6ca20c3b83e64636d9e3bd9e306e94 (patch)
treebfe96ad3ecd292932b91dece0d36baba809258bc
parentAddressArbiter: Removed unnecessary HLE::Reschedule. (diff)
downloadyuzu-c48ab0bd9e6ca20c3b83e64636d9e3bd9e306e94.tar
yuzu-c48ab0bd9e6ca20c3b83e64636d9e3bd9e306e94.tar.gz
yuzu-c48ab0bd9e6ca20c3b83e64636d9e3bd9e306e94.tar.bz2
yuzu-c48ab0bd9e6ca20c3b83e64636d9e3bd9e306e94.tar.lz
yuzu-c48ab0bd9e6ca20c3b83e64636d9e3bd9e306e94.tar.xz
yuzu-c48ab0bd9e6ca20c3b83e64636d9e3bd9e306e94.tar.zst
yuzu-c48ab0bd9e6ca20c3b83e64636d9e3bd9e306e94.zip
-rw-r--r--src/core/mem_map_funcs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/mem_map_funcs.cpp b/src/core/mem_map_funcs.cpp
index 038d3bffa..305be8468 100644
--- a/src/core/mem_map_funcs.cpp
+++ b/src/core/mem_map_funcs.cpp
@@ -168,7 +168,7 @@ u8 *GetPointer(const u32 addr) {
return g_system_mem + (vaddr & SYSTEM_MEMORY_MASK);
// VRAM
- } else if ((vaddr > VRAM_VADDR) && (vaddr < VRAM_VADDR_END)) {
+ } else if ((vaddr >= VRAM_VADDR) && (vaddr < VRAM_VADDR_END)) {
return g_vram + (vaddr & VRAM_MASK);
} else {