diff options
author | Lioncash <mathew1800@gmail.com> | 2020-12-08 04:00:34 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-12-08 05:02:23 +0100 |
commit | 6b7320add44bf3d933063d0b93296222fd522ef6 (patch) | |
tree | 06cb434947232a7105e955a8237285a15ac5556b /src/core/hle/service/fatal/fatal.cpp | |
parent | Merge pull request #5164 from lioncash/contains (diff) | |
download | yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.tar yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.tar.gz yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.tar.bz2 yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.tar.lz yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.tar.xz yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.tar.zst yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/fatal/fatal.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/fatal/fatal.cpp b/src/core/hle/service/fatal/fatal.cpp index 9b7672a91..13147472e 100644 --- a/src/core/hle/service/fatal/fatal.cpp +++ b/src/core/hle/service/fatal/fatal.cpp @@ -111,8 +111,9 @@ static void GenerateErrorReport(Core::System& system, ResultCode error_code, static void ThrowFatalError(Core::System& system, ResultCode error_code, FatalType fatal_type, const FatalInfo& info) { - LOG_ERROR(Service_Fatal, "Threw fatal error type {} with error code 0x{:X}", - static_cast<u32>(fatal_type), error_code.raw); + LOG_ERROR(Service_Fatal, "Threw fatal error type {} with error code 0x{:X}", fatal_type, + error_code.raw); + switch (fatal_type) { case FatalType::ErrorReportAndScreen: GenerateErrorReport(system, error_code, info); |