diff --git a/Core/CwCheat.cpp b/Core/CwCheat.cpp index fd4649117b..b7eef9c517 100644 --- a/Core/CwCheat.cpp +++ b/Core/CwCheat.cpp @@ -284,7 +284,7 @@ std::vector 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); } }