diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2023-10-01 21:00:30 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-10-08 04:57:10 +0200 |
commit | 0bb7990c4919b466658c8d75927ae92a76e86877 (patch) | |
tree | f08cb1c83a60fbd821642f70b41b5b8a2adc49a6 /src/core/hle/service/am/applets/applet_error.cpp | |
parent | service: caps: Partially implement IAlbumAccessorService (diff) | |
download | yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.tar yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.tar.gz yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.tar.bz2 yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.tar.lz yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.tar.xz yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.tar.zst yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/am/applets/applet_error.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/service/am/applets/applet_error.cpp b/src/core/hle/service/am/applets/applet_error.cpp index b46ea840c..5d17c353f 100644 --- a/src/core/hle/service/am/applets/applet_error.cpp +++ b/src/core/hle/service/am/applets/applet_error.cpp @@ -138,6 +138,10 @@ void Error::Initialize() { CopyArgumentData(data, args->application_error); error_code = Result(args->application_error.error_code); break; + case ErrorAppletMode::ShowErrorPctl: + CopyArgumentData(data, args->error_record); + error_code = Decode64BitError(args->error_record.error_code_64); + break; case ErrorAppletMode::ShowErrorRecord: CopyArgumentData(data, args->error_record); error_code = Decode64BitError(args->error_record.error_code_64); @@ -191,6 +195,7 @@ void Error::Execute() { frontend.ShowCustomErrorText(error_code, main_text_string, detail_text_string, callback); break; } + case ErrorAppletMode::ShowErrorPctl: case ErrorAppletMode::ShowErrorRecord: reporter.SaveErrorReport(title_id, error_code, fmt::format("{:016X}", args->error_record.posix_time)); |