From f1c282775d8e3b4030ad2778e7a629e28ff537f4 Mon Sep 17 00:00:00 2001 From: Steveice10 <1269164+Steveice10@users.noreply.github.com> Date: Tue, 21 Mar 2023 14:18:59 -0700 Subject: [PATCH] kernel: Set system error status on svcBreak. --- src/core/hle/kernel/svc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index c3d64874d..2603bd03f 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -1137,6 +1137,7 @@ void SVC::Break(u8 break_reason) { break; } LOG_CRITICAL(Debug_Emulated, "Break reason: {}", reason_str); + system.SetStatus(Core::System::ResultStatus::ErrorUnknown); } /// Used to output a message on a debug hardware unit - does nothing on a retail unit