This commit is contained in:
Henrik Rydgard 2015-02-03 00:21:21 +01:00
parent 4d11aa3edb
commit 2b7d95be1d

View file

@ -284,7 +284,7 @@ std::vector<std::string> CWCheatEngine::GetCodesList() { //Reads the entire chea
void CWCheatEngine::InvalidateICache(u32 addr, int size) {
if (MIPSComp::jit) {
MIPSComp::jit->GetBlockCache()->InvalidateICache(addr & ~3, 4);
MIPSComp::jit->GetBlockCache()->InvalidateICache(addr & ~3, size);
}
}