mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-29 23:32:23 +00:00
boot: fix abort on < 3.0.0
This commit is contained in:
parent
1456246f60
commit
00db1dc286
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ void Boot::DetectBootReason() {
|
|||
g_boot_reason = MakeBootReason(power_intr, rtc_intr & ~rtc_intr_m, nv_erc, ac_ok);
|
||||
|
||||
/* Set boot reason for SPL. */
|
||||
{
|
||||
if (GetRuntimeFirmwareVersion() >= FirmwareVersion_300) {
|
||||
BootReasonValue boot_reason_value;
|
||||
boot_reason_value.power_intr = power_intr;
|
||||
boot_reason_value.rtc_intr = rtc_intr & ~rtc_intr_m;
|
||||
|
|
Loading…
Reference in a new issue