aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/fatal
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-12-29 12:55:19 +1100
committerDavid Marcec <dmarcecguzman@gmail.com>2018-12-29 12:55:19 +1100
commit22d4e106642ac9d6a0dabc700c4dcd47be08ff41 (patch)
tree61eaf5a2b7c296828c58a92791f7094b34285428 /src/core/hle/service/fatal
parent08d5663cb8989f6e57cc28e02c572367685d69fd (diff)
Moved log backtrace to arm_interface.cpp. Added printing of error code to fatal
Diffstat (limited to 'src/core/hle/service/fatal')
-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) {
}
static void ThrowFatalError(ResultCode error_code, FatalType fatal_type, const FatalInfo& info) {
- LOG_ERROR(Service_Fatal, "Threw fatal error type {}", static_cast<u32>(fatal_type));
+ LOG_ERROR(Service_Fatal, "Threw fatal error type {} with error code 0x{:X}",
+ static_cast<u32>(fatal_type), error_code.raw);
switch (fatal_type) {
case FatalType::ErrorReportAndScreen:
GenerateErrorReport(error_code, info);