From 00e81e38f31cb5da03504448fb0fbb6885250eeb Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Sun, 17 Nov 2024 15:50:11 -0700 Subject: [PATCH] Minor fix --- retail/bootloaderi/source/arm7/main.arm7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retail/bootloaderi/source/arm7/main.arm7.c b/retail/bootloaderi/source/arm7/main.arm7.c index cc7602639..1a0ff2ccf 100644 --- a/retail/bootloaderi/source/arm7/main.arm7.c +++ b/retail/bootloaderi/source/arm7/main.arm7.c @@ -2135,7 +2135,7 @@ int arm7_main(void) { tonccpy((u32*)ce7Location, (u32*)CARDENGINEI_ARM7_BUFFERED_LOCATION, ce7Size); if (gameOnFlashcard || saveOnFlashcard) { - if (!dldiPatchBinary((data_t*)ce7Location, ce7Size-0x400, (data_t*)((ROMsupportsDsiMode(ndsHeader) && dsiModeConfirmed && _io_dldi_size < 0xF) ? 0 : (dsiEnhancedMbk ? CARDENGINEI_ARM7_LOCATION_ALT_DLDI : CARDENGINEI_ARM7_LOCATION_DLDI)))) { + if (!dldiPatchBinary((data_t*)ce7Location, ce7Size-0x400, (data_t*)((ROMsupportsDsiMode(ndsHeader) && dsiModeConfirmed) ? 0 : (dsiEnhancedMbk ? CARDENGINEI_ARM7_LOCATION_ALT_DLDI : CARDENGINEI_ARM7_LOCATION_DLDI)))) { dbg_printf("ce7 DLDI patch failed\n"); errorOutput(); }