diff --git a/fusee_cpp/program/source/fusee_setup_horizon.cpp b/fusee_cpp/program/source/fusee_setup_horizon.cpp index 5acb0e2b2..8958993b8 100644 --- a/fusee_cpp/program/source/fusee_setup_horizon.cpp +++ b/fusee_cpp/program/source/fusee_setup_horizon.cpp @@ -211,10 +211,10 @@ namespace ams::nxboot { se::DecryptAes128Cbc(package1 + 0x20, 0x40000 - (0x20 + 0x170), pkg1::AesKeySlot_MarikoBek, package1 + 0x20, 0x40000 - (0x20 + 0x170), iv, sizeof(iv)); hw::InvalidateDataCache(package1 + 0x20, 0x40000 - (0x20 + 0x170)); - } - if (std::memcmp(package1, package1 + 0x20, 0x20) != 0) { - ShowFatalError("Package1 seems corrupt!\n"); + if (std::memcmp(package1, package1 + 0x20, 0x20) != 0) { + ShowFatalError("Package1 seems corrupt!\n"); + } } return package1;