mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-24 03:51:54 +01:00
Possible fix for flashing MBC5. Shouldn't affect MBC3.
This commit is contained in:
parent
233b89fc91
commit
16af53b613
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user