[CPU] Add function for clearing JIT cache
This commit is contained in:
@@ -170,6 +170,8 @@ public:
|
||||
return env.totalTicks;
|
||||
}
|
||||
|
||||
void clearCache() { jit->ClearCache(); }
|
||||
|
||||
void runFrame() {
|
||||
env.ticksLeft = ticksPerSec / 60;
|
||||
|
||||
|
||||
@@ -229,4 +229,5 @@ public:
|
||||
|
||||
void sendGPUInterrupt(GPUInterrupt type) { serviceManager.sendGPUInterrupt(type); }
|
||||
void signalDSPEvents() { serviceManager.signalDSPEvents(); }
|
||||
void clearInstructionCache();
|
||||
};
|
||||
@@ -263,6 +263,8 @@ void Kernel::duplicateHandle() {
|
||||
}
|
||||
}
|
||||
|
||||
void Kernel::clearInstructionCache() { cpu.clearCache(); }
|
||||
|
||||
namespace SystemInfoType {
|
||||
enum : u32 {
|
||||
MemoryInformation = 0,
|
||||
|
||||
Reference in New Issue
Block a user