diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-01-14 20:41:16 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-01-14 20:41:16 +0100 |
| commit | 6035cbd5c1204d7c68bb144b948b0ee1c66061d9 (patch) | |
| tree | 366a5fa513ab00e213f6024da72ea28e1485185c /src | |
| parent | d7007dd3ccbac2fcd4aac4b9d26806c7285e593e (diff) | |
| download | box64-6035cbd5c1204d7c68bb144b948b0ee1c66061d9.tar.gz box64-6035cbd5c1204d7c68bb144b948b0ee1c66061d9.zip | |
[ARM64_DYNAREC] Allow new ClearCache also for Android
Diffstat (limited to 'src')
| -rw-r--r-- | src/dynarec/dynarec_native.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarec/dynarec_native.c b/src/dynarec/dynarec_native.c index af08655f..e901e462 100644 --- a/src/dynarec/dynarec_native.c +++ b/src/dynarec/dynarec_native.c @@ -508,7 +508,7 @@ static instruction_native_t static_insts[MAX_INSTS+2] = {0}; void ClearCache(void* start, size_t len) { -#if defined(ARM64) && !defined(ANDROID) +#if defined(ARM64) // manually clear cache, I have issue with regular function on Ampere with kernel 6.12.4 uintptr_t xstart = (uintptr_t)start; uintptr_t xend = (uintptr_t)start + len; |