pick the correct mapper for Tapper and Congo Bongo
Based off SHA1 hash
This commit is contained in:
parent
1565a0adf8
commit
9424f30243
|
@ -241,8 +241,13 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
|||
_mapper = new mUA();
|
||||
break;
|
||||
|
||||
// Homebrew mappers
|
||||
case "3E":
|
||||
// Special Sega Mapper which has swapped banks
|
||||
case "F8_sega":
|
||||
_mapper = new mF8_sega();
|
||||
break;
|
||||
|
||||
// Homebrew mappers
|
||||
case "3E":
|
||||
_mapper = new m3E();
|
||||
break;
|
||||
case "0840":
|
||||
|
|
|
@ -45,8 +45,17 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
|||
game.AddOption("m", DetectMapper(rom));
|
||||
}
|
||||
|
||||
Console.WriteLine("Game uses mapper " + game.GetOptionsDict()["m"]);
|
||||
RebootCore();
|
||||
if (Rom.HashSHA1() == "3A77DB43B6583E8689435F0F14AA04B9E57BDDED")
|
||||
{
|
||||
game.RemoveOption("m");
|
||||
game.AddOption("m", "F8_sega");
|
||||
Console.WriteLine("here we are");
|
||||
|
||||
}
|
||||
|
||||
Console.WriteLine("Game uses mapper " + game.GetOptionsDict()["m"]);
|
||||
Console.WriteLine(Rom.HashSHA1());
|
||||
RebootCore();
|
||||
SetupMemoryDomains();
|
||||
|
||||
Tracer = new TraceBuffer { Header = Cpu.TraceHeader };
|
||||
|
|
Loading…
Reference in New Issue