mirror of
https://github.com/wiiu-env/PayloadLoaderInstaller.git
synced 2025-01-13 17:09:08 +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() {
|
static bool isColdBootAllowed() {
|
||||||
if (OSIsAddressValid(0x00FFFFF8)) {
|
/* if (OSIsAddressValid(0x00FFFFF8)) { */
|
||||||
uint64_t bootedFrom = *((uint64_t *) 0x00FFFFF8);
|
uint64_t bootedFrom = *((uint64_t *) 0x00FFFFF8);
|
||||||
if (
|
if (
|
||||||
bootedFrom == 0x000500101004E000L || // H&S JPN
|
bootedFrom == 0x000500101004E000L || // H&S JPN
|
||||||
@ -39,7 +39,7 @@ public:
|
|||||||
) {
|
) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
// }
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user