summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorGravatar David Marcec2018-12-03 19:12:09 +1100
committerGravatar David Marcec2018-12-03 19:12:09 +1100
commit71493327121038696c887158cb34f94e2f225e0f (patch)
tree6293ecbf4174fb8fa48238a48b02736585f31592 /src/core/hle/kernel/svc.cpp
parentMerge pull request #1827 from ReinUsesLisp/clip-and-shader (diff)
downloadyuzu-71493327121038696c887158cb34f94e2f225e0f.tar.gz
yuzu-71493327121038696c887158cb34f94e2f225e0f.tar.xz
yuzu-71493327121038696c887158cb34f94e2f225e0f.zip
Print backtrace on svcBreak
When we get an svcBreak we get a backtrace now
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 3339777c1..2273f0bcf 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -625,6 +625,8 @@ static void Break(u32 reason, u64 info1, u64 info2) {
625 "Emulated program broke execution! reason=0x{:016X}, info1=0x{:016X}, info2=0x{:016X}", 625 "Emulated program broke execution! reason=0x{:016X}, info1=0x{:016X}, info2=0x{:016X}",
626 reason, info1, info2); 626 reason, info1, info2);
627 handle_debug_buffer(info1, info2); 627 handle_debug_buffer(info1, info2);
628 GetCurrentThread()->LogBacktrace();
629
628 ASSERT(false); 630 ASSERT(false);
629 631
630 Core::CurrentProcess()->PrepareForTermination(); 632 Core::CurrentProcess()->PrepareForTermination();