Skip to content

Commit

Permalink
[ARM64_DYNAREC] Allow new ClearCache also for Android
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Jan 14, 2025
1 parent d7007dd commit 6035cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynarec/dynarec_native.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6035cbd

Please sign in to comment.