[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;