summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2012-06-20 12:15:22 +0200
committerPierre Bourdon <delroth@gmail.com>2012-06-20 12:15:22 +0200
commit30de244050d57ff981981b20ce414eb7b5e9f9ab (patch)
tree7fee8451b526009bc6e52fb2b890db67ebad9679 /Source/Core
parente550623b11378d7cfae2eee9371e8fa81967ec0c (diff)
Check for DSI exceptions after a dcbz instruction. Fixes Rogue Squadron 3 in interpreter mode.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp
index 10c8fc2e58..f09575e066 100644
--- a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp
+++ b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp
@@ -409,6 +409,7 @@ void Interpreter::dcbz(UGeckoInstruction _inst)
// HACK but works... we think
if (HID2.WPE || !HID0.DCFA)
Memory::Memset(Helper_Get_EA_X(_inst) & (~31), 0, 32);
+ PowerPC::CheckExceptions();
}
// eciwx/ecowx technically should access the specified device