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
commit fdb7ab47ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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