diff options
author | bunnei <bunneidev@gmail.com> | 2019-01-27 18:55:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-27 18:55:07 +0100 |
commit | a9268286a4f424f365eda720756f48fc90d21989 (patch) | |
tree | f035f789639430c90bf2a08c9fd44fa813542eb4 /src/core/hle/kernel | |
parent | Merge pull request #2058 from ReinUsesLisp/trunc-warning (diff) | |
parent | kernel/svc: Log out uncaught C++ exceptions from svcBreak (diff) | |
download | yuzu-a9268286a4f424f365eda720756f48fc90d21989.tar yuzu-a9268286a4f424f365eda720756f48fc90d21989.tar.gz yuzu-a9268286a4f424f365eda720756f48fc90d21989.tar.bz2 yuzu-a9268286a4f424f365eda720756f48fc90d21989.tar.lz yuzu-a9268286a4f424f365eda720756f48fc90d21989.tar.xz yuzu-a9268286a4f424f365eda720756f48fc90d21989.tar.zst yuzu-a9268286a4f424f365eda720756f48fc90d21989.zip |
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r-- | src/core/hle/kernel/svc.cpp | 4 |
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, |