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