summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-01-27 03:19:04 +0100
committerLioncash <mathew1800@gmail.com>2019-01-27 03:19:13 +0100
commit7842536ddba1c816d6487c19b4c35b675996e54f (patch)
treeda848c70a7f68f488414df15b577e8ce49693d2b /src/core/hle
parentMerge pull request #1927 from ReinUsesLisp/shader-ir (diff)
downloadyuzu-7842536ddba1c816d6487c19b4c35b675996e54f.tar
yuzu-7842536ddba1c816d6487c19b4c35b675996e54f.tar.gz
yuzu-7842536ddba1c816d6487c19b4c35b675996e54f.tar.bz2
yuzu-7842536ddba1c816d6487c19b4c35b675996e54f.tar.lz
yuzu-7842536ddba1c816d6487c19b4c35b675996e54f.tar.xz
yuzu-7842536ddba1c816d6487c19b4c35b675996e54f.tar.zst
yuzu-7842536ddba1c816d6487c19b4c35b675996e54f.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/kernel/svc.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 6588bd3b8..7cfecb68c 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -597,6 +597,7 @@ enum class BreakType : u32 {
PostNROLoad = 4,
PreNROUnload = 5,
PostNROUnload = 6,
+ CppException = 7,
};
struct BreakReason {
@@ -669,6 +670,9 @@ static void Break(u32 reason, u64 info1, u64 info2) {
"Signalling debugger, Unloaded an NRO at 0x{:016X} with size 0x{:016X}", info1,
info2);
break;
+ case BreakType::CppException:
+ LOG_CRITICAL(Debug_Emulated, "Signalling debugger. Uncaught C++ exception encountered.");
+ break;
default:
LOG_WARNING(
Debug_Emulated,