Merge pull request #6364 from Steveice10/break_error

kernel: Set system error status on svcBreak.
This commit is contained in:
bunnei
2023-03-25 01:18:26 -07:00
committed by GitHub

View File

@@ -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