[CPU] Add function for clearing JIT cache

This commit is contained in:
wheremyfoodat 2023-09-05 20:57:48 +03:00
parent 2ce58e3662
commit 7bf56c2413
3 changed files with 5 additions and 0 deletions

View file

@ -170,6 +170,8 @@ public:
return env.totalTicks;
}
void clearCache() { jit->ClearCache(); }
void runFrame() {
env.ticksLeft = ticksPerSec / 60;

View file

@ -229,4 +229,5 @@ public:
void sendGPUInterrupt(GPUInterrupt type) { serviceManager.sendGPUInterrupt(type); }
void signalDSPEvents() { serviceManager.signalDSPEvents(); }
void clearInstructionCache();
};