mirror of
https://github.com/wiiu-env/PayloadLoaderInstaller.git
synced 2024-12-26 01:01:50 +01:00
Fix coldboot installation on non-aroma systems
This commit is contained in:
parent
c7afdf6aa1
commit
c17d114864
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user