CRO: Lighter icache flushes

This commit is contained in:
wheremyfoodat 2025-01-03 19:14:31 +02:00
parent 0c6c455d4d
commit 33c3e67b31
4 changed files with 12 additions and 9 deletions

View file

@ -181,5 +181,7 @@ class CPU {
void addTicks(u64 ticks) { env.AddTicks(ticks); }
void clearCache() { jit->ClearCache(); }
void clearCacheRange(u32 start, u32 size) { jit->InvalidateCacheRange(start, size); }
void runFrame();
};

View file

@ -250,4 +250,5 @@ public:
void sendGPUInterrupt(GPUInterrupt type) { serviceManager.sendGPUInterrupt(type); }
void clearInstructionCache();
void clearInstructionCacheRange(u32 start, u32 size);
};