From c17d114864c66e897f52fd401dae5eb86344f70f Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 26 Dec 2021 15:03:56 +0100 Subject: [PATCH] Fix coldboot installation on non-aroma systems --- source/InstallerService.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/InstallerService.h b/source/InstallerService.h index d503c3d..e231d6b 100644 --- a/source/InstallerService.h +++ b/source/InstallerService.h @@ -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; }