From aef031a6d24bfaf33a3c159e554c5e96a7d840db Mon Sep 17 00:00:00 2001 From: ekeeke Date: Tue, 25 Aug 2020 15:41:22 +0200 Subject: [PATCH] [Core/MD] fixed typo causing issues with games larger than 4MB --- core/cart_hw/md_cart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/cart_hw/md_cart.c b/core/cart_hw/md_cart.c index 53f9ffb..3a4f567 100644 --- a/core/cart_hw/md_cart.c +++ b/core/cart_hw/md_cart.c @@ -685,7 +685,7 @@ void md_cart_init(void) m68k.memory_map[0x00].write16 = mapper_flashkit_w; zbank_memory_map[0x00].write = mapper_flashkit_w; } - else if ((cart.romsize = 0x400000) && + else if ((cart.romsize == 0x400000) && (READ_BYTE(cart.rom, 0x200150) == 'C') && (READ_BYTE(cart.rom, 0x200151) == 'A') && (READ_BYTE(cart.rom, 0x200152) == 'N') &&