summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
diff options
context:
space:
mode:
authorskidau <skidau@gmail.com>2014-10-24 12:57:17 +1100
committerskidau <skidau@gmail.com>2014-10-26 14:56:02 +1100
commit290e1bed378d570667eb66170986696ca207d2d6 (patch)
treeeb7e13b3a3805b203126fbf7d32bfe16796ab518 /Source/Core/DolphinWX/Debugger/CodeWindow.cpp
parentd0a3bb765088b8d6f923ef62aac4761de332a12f (diff)
Disable block linking while debugger stepping or if there are breakpoints
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeWindow.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/CodeWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
index b34dfa29b5..481240c498 100644
--- a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
+++ b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
@@ -310,10 +310,10 @@ void CCodeWindow::StepOver()
{
if (CCPU::IsStepping())
{
- PowerPC::breakpoints.ClearAllTemporary();
UGeckoInstruction inst = Memory::Read_Instruction(PC);
if (inst.LK)
{
+ PowerPC::breakpoints.ClearAllTemporary();
PowerPC::breakpoints.Add(PC + 4, true);
CCPU::EnableStepping(false);
JumpToAddress(PC);