summaryrefslogtreecommitdiff
path: root/src/core/hle
diff options
context:
space:
mode:
authorGravatar David Marcec2018-12-29 12:55:19 +1100
committerGravatar David Marcec2018-12-29 12:55:19 +1100
commit22d4e106642ac9d6a0dabc700c4dcd47be08ff41 (patch)
tree61eaf5a2b7c296828c58a92791f7094b34285428 /src/core/hle
parentMoved backtrace to ArmInterface (diff)
downloadyuzu-22d4e106642ac9d6a0dabc700c4dcd47be08ff41.tar.gz
yuzu-22d4e106642ac9d6a0dabc700c4dcd47be08ff41.tar.xz
yuzu-22d4e106642ac9d6a0dabc700c4dcd47be08ff41.zip
Moved log backtrace to arm_interface.cpp. Added printing of error code to fatal
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/fatal/fatal.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/fatal/fatal.cpp b/src/core/hle/service/fatal/fatal.cpp
index 2f15ac2a6..770590d0b 100644
--- a/src/core/hle/service/fatal/fatal.cpp
+++ b/src/core/hle/service/fatal/fatal.cpp
@@ -111,7 +111,8 @@ static void GenerateErrorReport(ResultCode error_code, const FatalInfo& info) {
111} 111}
112 112
113static void ThrowFatalError(ResultCode error_code, FatalType fatal_type, const FatalInfo& info) { 113static void ThrowFatalError(ResultCode error_code, FatalType fatal_type, const FatalInfo& info) {
114 LOG_ERROR(Service_Fatal, "Threw fatal error type {}", static_cast<u32>(fatal_type)); 114 LOG_ERROR(Service_Fatal, "Threw fatal error type {} with error code 0x{:X}",
115 static_cast<u32>(fatal_type), error_code.raw);
115 switch (fatal_type) { 116 switch (fatal_type) {
116 case FatalType::ErrorReportAndScreen: 117 case FatalType::ErrorReportAndScreen:
117 GenerateErrorReport(error_code, info); 118 GenerateErrorReport(error_code, info);