mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-23 21:19:16 +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);
|
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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user