about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dynarec/dynacache_reloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dynarec/dynacache_reloc.c b/src/dynarec/dynacache_reloc.c
index ebf0f927..0ebfeb3c 100644
--- a/src/dynarec/dynacache_reloc.c
+++ b/src/dynarec/dynacache_reloc.c
@@ -238,7 +238,11 @@ int RelocsHaveCancel(dynablock_t* block)
 }
 
 uintptr_t RelocGetNext() {
+    #ifdef DUMMY_GETCONST
+    return 0;
+    #else
     return getConst(const_native_next);
+    #endif
 }
 
 #ifdef DUMMY_GETCONST