diff --git a/src/flashcart/ed64/ed64.c b/src/flashcart/ed64/ed64.c index a6ae5e1c..a6fa75ae 100644 --- a/src/flashcart/ed64/ed64.c +++ b/src/flashcart/ed64/ed64.c @@ -53,13 +53,12 @@ static flashcart_err_t ed64_load_rom (char *rom_path, flashcart_progress_callbac size_t rom_size = f_size(&fil); - // FIXME: if the cart is not V3 or X5 or X7, we need to - 128KiB - if (rom_size > MiB(64) - KiB(128)) { + // FIXME: if the cart is not V3 or X5 or X7, we need probably need to - 128KiB + if (rom_size > MiB(64)) { f_close(&fil); return FLASHCART_ERR_LOAD; } - size_t sdram_size = rom_size; size_t chunk_size = MiB(1); diff --git a/src/flashcart/flashcart.c b/src/flashcart/flashcart.c index aa4ca54a..8e238bd4 100644 --- a/src/flashcart/flashcart.c +++ b/src/flashcart/flashcart.c @@ -98,6 +98,7 @@ flashcart_err_t flashcart_init (void) { case CART_EDX: // Series X EverDrive-64 case CART_ED: // Original EverDrive-64 + flashcart = ed64_get_flashcart(); break; case CART_SC: // SummerCart64