kernel: Set system error status on svcBreak.

This commit is contained in:
Steveice10 2023-03-21 14:18:59 -07:00
parent 0c3fe272b6
commit f1c282775d

View File

@ -1137,6 +1137,7 @@ void SVC::Break(u8 break_reason) {
break; break;
} }
LOG_CRITICAL(Debug_Emulated, "Break reason: {}", reason_str); 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 /// Used to output a message on a debug hardware unit - does nothing on a retail unit