diff options
author | TheKoopaKingdom <thekoopakingdom@gmail.com> | 2017-03-08 22:28:30 +0100 |
---|---|---|
committer | TheKoopaKingdom <thekoopakingdom@gmail.com> | 2017-06-03 00:27:56 +0200 |
commit | 1ecb322daa0e2521fe0e179e87889db9aaaf63b0 (patch) | |
tree | 6f8cc571b41a76c7ab93843472809bfc9121abb7 /src/core/hle/service/err_f.cpp | |
parent | Fixed encrypted ROM error messages. (diff) | |
download | yuzu-1ecb322daa0e2521fe0e179e87889db9aaaf63b0.tar yuzu-1ecb322daa0e2521fe0e179e87889db9aaaf63b0.tar.gz yuzu-1ecb322daa0e2521fe0e179e87889db9aaaf63b0.tar.bz2 yuzu-1ecb322daa0e2521fe0e179e87889db9aaaf63b0.tar.lz yuzu-1ecb322daa0e2521fe0e179e87889db9aaaf63b0.tar.xz yuzu-1ecb322daa0e2521fe0e179e87889db9aaaf63b0.tar.zst yuzu-1ecb322daa0e2521fe0e179e87889db9aaaf63b0.zip |
Diffstat (limited to 'src/core/hle/service/err_f.cpp')
-rw-r--r-- | src/core/hle/service/err_f.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/err_f.cpp b/src/core/hle/service/err_f.cpp index 9da55f328..4f4dc6dc7 100644 --- a/src/core/hle/service/err_f.cpp +++ b/src/core/hle/service/err_f.cpp @@ -10,6 +10,7 @@ #include "common/bit_field.h" #include "common/common_types.h" #include "common/logging/log.h" +#include "core/core.h" #include "core/hle/result.h" #include "core/hle/service/err_f.h" @@ -172,6 +173,7 @@ static void ThrowFatalError(Interface* self) { const ErrInfo* errinfo = reinterpret_cast<ErrInfo*>(&cmd_buff[1]); LOG_CRITICAL(Service_ERR, "Fatal error type: %s", GetErrType(errinfo->errinfo_common.specifier).c_str()); + Core::System::GetInstance().SetStatus(Core::System::ResultStatus::ErrorUnknown); // Generic Info LogGenericInfo(errinfo->errinfo_common); |