summaryrefslogtreecommitdiff
path: root/src/core/arm/arm_interface.cpp
diff options
context:
space:
mode:
authorGravatar Morph2023-07-09 16:24:49 -0400
committerGravatar GitHub2023-07-09 16:24:49 -0400
commit8a87a41f2da01e65ecfcd1787237578c2f14ec06 (patch)
treed2fca8e5ea246bdbf916b70b37d551d30f518e92 /src/core/arm/arm_interface.cpp
parentMerge pull request #11030 from lat9nq/tz-restrict-msvc (diff)
parentarm_interface: correct breakpoint rewind condition (diff)
downloadyuzu-8a87a41f2da01e65ecfcd1787237578c2f14ec06.tar.gz
yuzu-8a87a41f2da01e65ecfcd1787237578c2f14ec06.tar.xz
yuzu-8a87a41f2da01e65ecfcd1787237578c2f14ec06.zip
Merge pull request #11063 from liamwhite/oops
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()) {