aboutsummaryrefslogtreecommitdiff
path: root/src/CP15.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/CP15.cpp')
-rw-r--r--src/CP15.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CP15.cpp b/src/CP15.cpp
index 8bb4f6b..62258e9 100644
--- a/src/CP15.cpp
+++ b/src/CP15.cpp
@@ -561,11 +561,15 @@ void ARMv5::CP15Write(u32 id, u32 val)
case 0x750:
+#ifdef JIT_ENABLED
ARMJIT::InvalidateAll();
+#endif
ICacheInvalidateAll();
return;
case 0x751:
+#ifdef JIT_ENABLED
ARMJIT::InvalidateByAddr(ARMJIT::TranslateAddr<0>(val));
+#endif
ICacheInvalidateByAddr(val);
return;
case 0x752: