summaryrefslogtreecommitdiff
path: root/src/core/arm/arm_interface.cpp
diff options
context:
space:
mode:
authorGravatar Liam2023-07-09 12:03:25 -0400
committerGravatar Liam2023-07-09 12:03:25 -0400
commit82568412f6916068d1b4fb10988f51cbd019b0dd (patch)
tree6b434c0cc8a2c61cd6687b1c954c66714bbe9084 /src/core/arm/arm_interface.cpp
parentMerge pull request #11049 from Morph1984/gha (diff)
downloadyuzu-82568412f6916068d1b4fb10988f51cbd019b0dd.tar.gz
yuzu-82568412f6916068d1b4fb10988f51cbd019b0dd.tar.xz
yuzu-82568412f6916068d1b4fb10988f51cbd019b0dd.zip
arm_interface: correct breakpoint rewind condition
Diffstat (limited to 'src/core/arm/arm_interface.cpp')
-rw-r--r--src/core/arm/arm_interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/arm_interface.cpp b/src/core/arm/arm_interface.cpp
index beaea64b3..aa0eb9791 100644
--- a/src/core/arm/arm_interface.cpp
+++ b/src/core/arm/arm_interface.cpp
@@ -185,7 +185,7 @@ void ARM_Interface::Run() {
185 // Notify the debugger and go to sleep if a breakpoint was hit, 185 // Notify the debugger and go to sleep if a breakpoint was hit,
186 // or if the thread is unable to continue for any reason. 186 // or if the thread is unable to continue for any reason.
187 if (True(hr & HaltReason::InstructionBreakpoint) || True(hr & HaltReason::PrefetchAbort)) { 187 if (True(hr & HaltReason::InstructionBreakpoint) || True(hr & HaltReason::PrefetchAbort)) {
188 if (!True(hr & HaltReason::InstructionBreakpoint)) { 188 if (!True(hr & HaltReason::PrefetchAbort)) {
189 RewindBreakpointInstruction(); 189 RewindBreakpointInstruction();
190 } 190 }
191 if (system.DebuggerEnabled()) { 191 if (system.DebuggerEnabled()) {