From 16af53b613b4714a0607edcfa7750ab5eb28be27 Mon Sep 17 00:00:00 2001 From: Dakkaron Date: Wed, 7 Jul 2021 13:48:16 +0200 Subject: [PATCH] Possible fix for flashing MBC5. Shouldn't affect MBC3. --- Cart_Reader/GB.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cart_Reader/GB.ino b/Cart_Reader/GB.ino index b212506..bc3c2b6 100644 --- a/Cart_Reader/GB.ino +++ b/Cart_Reader/GB.ino @@ -987,7 +987,8 @@ void writeFlash_GB() { PORTB ^= (1 << 4); // Set ROM bank - writeByte_GB(0x2100, currBank); + writeByte_GB(0x2100, currBank); //MBC5 + writeByte_GB(0x2000, currBank); //MBC3 // 0x2A8000 fix writeByte_GB(0x4000, 0x0);