Fix coldboot installation on non-aroma systems

This commit is contained in:
Maschell 2021-12-26 15:03:56 +01:00
parent c7afdf6aa1
commit c17d114864
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ public:
};
static bool isColdBootAllowed() {
if (OSIsAddressValid(0x00FFFFF8)) {
/* if (OSIsAddressValid(0x00FFFFF8)) { */
uint64_t bootedFrom = *((uint64_t *) 0x00FFFFF8);
if (
bootedFrom == 0x000500101004E000L || // H&S JPN
@ -39,7 +39,7 @@ public:
) {
return true;
}
}
// }
return false;
}