Merge pull request #6364 from Steveice10/break_error
kernel: Set system error status on svcBreak.
This commit is contained in:
commit
fdb7ab47ff
|
@ -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
|
||||||
|
|
Reference in New Issue