summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2023-07-09 22:24:49 +0200
committerGitHub <noreply@github.com>2023-07-09 22:24:49 +0200
commit8a87a41f2da01e65ecfcd1787237578c2f14ec06 (patch)
treed2fca8e5ea246bdbf916b70b37d551d30f518e92
parentMerge pull request #11030 from lat9nq/tz-restrict-msvc (diff)
parentarm_interface: correct breakpoint rewind condition (diff)
downloadyuzu-8a87a41f2da01e65ecfcd1787237578c2f14ec06.tar
yuzu-8a87a41f2da01e65ecfcd1787237578c2f14ec06.tar.gz
yuzu-8a87a41f2da01e65ecfcd1787237578c2f14ec06.tar.bz2
yuzu-8a87a41f2da01e65ecfcd1787237578c2f14ec06.tar.lz
yuzu-8a87a41f2da01e65ecfcd1787237578c2f14ec06.tar.xz
yuzu-8a87a41f2da01e65ecfcd1787237578c2f14ec06.tar.zst
yuzu-8a87a41f2da01e65ecfcd1787237578c2f14ec06.zip
-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() {
// 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()) {