aboutsummaryrefslogtreecommitdiff
path: root/src/core/arm/arm_interface.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2023-07-09 16:24:49 -0400
committerGitHub <noreply@github.com>2023-07-09 16:24:49 -0400
commit51c3f6567b33f9bafe4f53493de40a2da0bc68e5 (patch)
treed2fca8e5ea246bdbf916b70b37d551d30f518e92 /src/core/arm/arm_interface.cpp
parent411d553bdfeb7bcfab5c41b6a67a26fd4fe7e97a (diff)
parent1f791daa0136d1993b5a321d35222202e2c4aa79 (diff)
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 beaea64b37..aa0eb97914 100644
--- a/src/core/arm/arm_interface.cpp
+++ b/src/core/arm/arm_interface.cpp
@@ -185,7 +185,7 @@ void ARM_Interface::Run() {
// Notify the debugger and go to sleep if a breakpoint was hit,
// or if the thread is unable to continue for any reason.
if (True(hr & HaltReason::InstructionBreakpoint) || True(hr & HaltReason::PrefetchAbort)) {
- if (!True(hr & HaltReason::InstructionBreakpoint)) {
+ if (!True(hr & HaltReason::PrefetchAbort)) {
RewindBreakpointInstruction();
}
if (system.DebuggerEnabled()) {