diff options
author | Liam <byteslice@airmail.cc> | 2022-12-02 04:48:43 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-12-02 14:25:45 +0100 |
commit | 6072b22a0b9a1d84c389e8231fe4b6a97e60d55f (patch) | |
tree | 13fd1e6ec07f4aff50f0bcb41fbb02fb2192ec87 /src/core/arm/arm_interface.cpp | |
parent | Merge pull request #9367 from lat9nq/occam-ffmpeg (diff) | |
download | yuzu-6072b22a0b9a1d84c389e8231fe4b6a97e60d55f.tar yuzu-6072b22a0b9a1d84c389e8231fe4b6a97e60d55f.tar.gz yuzu-6072b22a0b9a1d84c389e8231fe4b6a97e60d55f.tar.bz2 yuzu-6072b22a0b9a1d84c389e8231fe4b6a97e60d55f.tar.lz yuzu-6072b22a0b9a1d84c389e8231fe4b6a97e60d55f.tar.xz yuzu-6072b22a0b9a1d84c389e8231fe4b6a97e60d55f.tar.zst yuzu-6072b22a0b9a1d84c389e8231fe4b6a97e60d55f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/arm/arm_interface.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/arm/arm_interface.cpp b/src/core/arm/arm_interface.cpp index 29ba562dc..2df7b0ee8 100644 --- a/src/core/arm/arm_interface.cpp +++ b/src/core/arm/arm_interface.cpp @@ -145,11 +145,15 @@ 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 (Has(hr, breakpoint) || Has(hr, no_execute)) { - RewindBreakpointInstruction(); + if (!Has(hr, no_execute)) { + RewindBreakpointInstruction(); + } if (system.DebuggerEnabled()) { system.GetDebugger().NotifyThreadStopped(current_thread); + } else { + LogBacktrace(); } - current_thread->RequestSuspend(Kernel::SuspendType::Debug); + current_thread->RequestSuspend(SuspendType::Debug); break; } |