This commit is contained in:
adelikat 2014-04-06 23:30:45 +00:00
parent 391be49081
commit 0a22275b59
2 changed files with 9 additions and 0 deletions

View File

@ -105,6 +105,9 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
case 1024 * 4: // 4K
return new Multicart4K(gameTotal);
break;
case 1024 * 8: // 8K
return new Multicart8K(gameTotal);
break;
}
}

View File

@ -13,6 +13,12 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
private int _gameTotal;
private int _currentGame;
public Multicart8K(int gametotal)
{
_gameTotal = gametotal;
_currentGame = 0;
}
public override void SyncState(Serializer ser)
{
ser.Sync("bank_4k", ref _bank4K);