Possible fix for flashing MBC5. Shouldn't affect MBC3.

This commit is contained in:
Dakkaron 2021-07-07 13:48:16 +02:00
parent 233b89fc91
commit 16af53b613

View File

@ -987,7 +987,8 @@ void writeFlash_GB() {
PORTB ^= (1 << 4); PORTB ^= (1 << 4);
// Set ROM bank // Set ROM bank
writeByte_GB(0x2100, currBank); writeByte_GB(0x2100, currBank); //MBC5
writeByte_GB(0x2000, currBank); //MBC3
// 0x2A8000 fix // 0x2A8000 fix
writeByte_GB(0x4000, 0x0); writeByte_GB(0x4000, 0x0);