diff --git a/retail/bootloader/source/arm7/decompress.c b/retail/bootloader/source/arm7/decompress.c index f0f9ffaf1..bc32bd403 100644 --- a/retail/bootloader/source/arm7/decompress.c +++ b/retail/bootloader/source/arm7/decompress.c @@ -241,12 +241,7 @@ void ensureBinaryDecompressed(const tNDSHeader* ndsHeader, module_params_t* modu const char* romTid = getRomTid(ndsHeader); unpatchedFunctions* unpatchedFuncs = (unpatchedFunctions*)UNPATCHED_FUNCTION_LOCATION; - if ( - moduleParams->compressed_static_end - || strcmp(romTid, "YQUJ") == 0 // Chrono Trigger (Japan) - || strcmp(romTid, "YQUE") == 0 // Chrono Trigger (USA) - || strcmp(romTid, "YQUP") == 0 // Chrono Trigger (Europe) - ) { + if (moduleParams->compressed_static_end) { // Compressed dbg_printf("arm9 is compressed\n"); unpatchedFuncs->compressedFlagOffset = (u32*)((u32)moduleParams+0x14); diff --git a/retail/bootloaderi/source/arm7/decompress.c b/retail/bootloaderi/source/arm7/decompress.c index 4f375fbc9..2f4396bbe 100644 --- a/retail/bootloaderi/source/arm7/decompress.c +++ b/retail/bootloaderi/source/arm7/decompress.c @@ -249,12 +249,7 @@ void ensureBinaryDecompressed(const tNDSHeader* ndsHeader, module_params_t* modu const char* romTid = getRomTid(ndsHeader); unpatchedFunctions* unpatchedFuncs = (unpatchedFunctions*)UNPATCHED_FUNCTION_LOCATION; - if ( - moduleParams->compressed_static_end - || strcmp(romTid, "YQUJ") == 0 // Chrono Trigger (Japan) - || strcmp(romTid, "YQUE") == 0 // Chrono Trigger (USA) - || strcmp(romTid, "YQUP") == 0 // Chrono Trigger (Europe) - ) { + if (moduleParams->compressed_static_end) { // Compressed dbg_printf("arm9 is compressed\n"); unpatchedFuncs->compressedFlagOffset = (u32*)((u32)moduleParams+0x14);