Merge pull request #6364 from Steveice10/break_error
kernel: Set system error status on svcBreak.
This commit is contained in:
commit
fdb7ab47ff
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue