Fix wrong MBC5 mapper being given a battery

0x1A is MBC5+RAM, 0x1B is MBC5+RAM+BATTERY
This commit is contained in:
CasualPokePlayer 2022-11-19 20:44:55 -08:00 committed by GitHub
parent 0cb63e8d6a
commit 51826c4c17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk

View File

@ -531,8 +531,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
case 0x12: mapper = new MapperMBC3(); mppr = "MBC3"; break;
case 0x13: mapper = new MapperMBC3(); mppr = "MBC3"; has_bat = true; break;
case 0x19: mapper = new MapperMBC5(); mppr = "MBC5"; break;
case 0x1A: mapper = new MapperMBC5(); mppr = "MBC5"; has_bat = true; break;
case 0x1B: mapper = new MapperMBC5(); mppr = "MBC5"; break;
case 0x1A: mapper = new MapperMBC5(); mppr = "MBC5"; break;
case 0x1B: mapper = new MapperMBC5(); mppr = "MBC5"; has_bat = true; break;
case 0x1C: mapper = new MapperMBC5(); mppr = "MBC5"; break;
case 0x1D: mapper = new MapperMBC5(); mppr = "MBC5"; break;
case 0x1E: mapper = new MapperMBC5(); mppr = "MBC5"; has_bat = true; break;