1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-05 19:51:45 +00:00

boot: fix abort on < 3.0.0

This commit is contained in:
Michael Scire 2019-05-09 03:20:06 -07:00
parent 1456246f60
commit 00db1dc286

View file

@ -90,7 +90,7 @@ void Boot::DetectBootReason() {
g_boot_reason = MakeBootReason(power_intr, rtc_intr & ~rtc_intr_m, nv_erc, ac_ok); g_boot_reason = MakeBootReason(power_intr, rtc_intr & ~rtc_intr_m, nv_erc, ac_ok);
/* Set boot reason for SPL. */ /* Set boot reason for SPL. */
{ if (GetRuntimeFirmwareVersion() >= FirmwareVersion_300) {
BootReasonValue boot_reason_value; BootReasonValue boot_reason_value;
boot_reason_value.power_intr = power_intr; boot_reason_value.power_intr = power_intr;
boot_reason_value.rtc_intr = rtc_intr & ~rtc_intr_m; boot_reason_value.rtc_intr = rtc_intr & ~rtc_intr_m;