yuzu-emu
/
yuzu
Archived
1
0
Fork 0

arm_interface: correct breakpoint rewind condition

This commit is contained in:
Liam 2023-07-09 12:03:25 -04:00
parent f80edad109
commit 82568412f6
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ void ARM_Interface::Run() {
// Notify the debugger and go to sleep if a breakpoint was hit, // Notify the debugger and go to sleep if a breakpoint was hit,
// or if the thread is unable to continue for any reason. // 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) || True(hr & HaltReason::PrefetchAbort)) {
if (!True(hr & HaltReason::InstructionBreakpoint)) { if (!True(hr & HaltReason::PrefetchAbort)) {
RewindBreakpointInstruction(); RewindBreakpointInstruction();
} }
if (system.DebuggerEnabled()) { if (system.DebuggerEnabled()) {