aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/err_f.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-06-02 22:24:29 -0400
committerGitHub <noreply@github.com>2017-06-02 22:24:29 -0400
commit81449f025a190cd9f931d73cf959ddbfebff497a (patch)
tree24a15888dd6ebc515a09eaf00623fa23e2d4665d /src/core/hle/service/err_f.cpp
parent4857eb441bbe7ba1637838c9e5158f0801f40730 (diff)
parentf008b22e3b2baa7720ea65c320fe49929a53bad7 (diff)
Merge pull request #2611 from TheKoopaKingdom/missing-file-dialogs
Display QMessageBox Dialogs For Errors
Diffstat (limited to 'src/core/hle/service/err_f.cpp')
-rw-r--r--src/core/hle/service/err_f.cpp2
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);