about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2025-06-19 11:39:45 +0200
committerptitSeb <sebastien.chev@gmail.com>2025-06-19 11:39:45 +0200
commitf88c864fcef6a14c1a6d93c946d538936c6bf1ba (patch)
tree1ee999ab8eddf2a13364e4c611ae729a9a209a81 /src
parent41a914fa5e135e54698c4a170214b607120bdd52 (diff)
downloadbox64-f88c864fcef6a14c1a6d93c946d538936c6bf1ba.tar.gz
box64-f88c864fcef6a14c1a6d93c946d538936c6bf1ba.zip
[DYNACACHE] Another fix for non-ARM64 Dynarec build
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