diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-06-19 11:28:49 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-06-19 11:28:49 +0200 |
| commit | eb110bf213e8386438902407544088d807468925 (patch) | |
| tree | 982877031a1364205b6db2c2d688d1bfb40c488c /src | |
| parent | 42c0f891e38daa8eb15d6a0a78e0bab08a94bc71 (diff) | |
| download | box64-eb110bf213e8386438902407544088d807468925.tar.gz box64-eb110bf213e8386438902407544088d807468925.zip | |
[DYNACACHE] This should fix non-ARM64 Dynarec build
Diffstat (limited to 'src')
| -rw-r--r-- | src/dynarec/dynacache_reloc.c | 9 | ||||
| -rw-r--r-- | src/dynarec/dynacache_reloc.h | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/dynarec/dynacache_reloc.c b/src/dynarec/dynacache_reloc.c index b145629e..f9f70dd8 100644 --- a/src/dynarec/dynacache_reloc.c +++ b/src/dynarec/dynacache_reloc.c @@ -239,4 +239,11 @@ int RelocsHaveCancel(dynablock_t* block) uintptr_t RelocGetNext() { return getConst(const_native_next); -} \ No newline at end of file +} + +#ifdef DUMMY_GETCONST +uintptr_t getConst(arm64_consts_t which) +{ + return 0; +} +#endif \ No newline at end of file diff --git a/src/dynarec/dynacache_reloc.h b/src/dynarec/dynacache_reloc.h index dc0f63a4..3e1a601c 100644 --- a/src/dynarec/dynacache_reloc.h +++ b/src/dynarec/dynacache_reloc.h @@ -9,6 +9,8 @@ typedef enum native_consts_s { const_none, const_last } native_consts_t; +#define DUMMY_GETCONST +uintptr_t getConst(arm64_consts_t which); #endif void AddRelocTable64Const(dynarec_native_t* dyn, int ninst, native_consts_t C, int pass); |