mirror of https://github.com/mgba-emu/mgba.git
GB Memory: Fix MBC5 for large ROMs
This commit is contained in:
parent
1898634857
commit
215f7752f3
|
@ -487,7 +487,7 @@ void _GBMBC3(struct GBMemory* memory, uint16_t address, uint8_t value) {
|
|||
}
|
||||
|
||||
void _GBMBC5(struct GBMemory* memory, uint16_t address, uint8_t value) {
|
||||
int bank = value & 0x7F;
|
||||
int bank = value;
|
||||
switch (address >> 13) {
|
||||
case 0x0:
|
||||
switch (value) {
|
||||
|
|
Loading…
Reference in New Issue