Intellivision - implement the BoardName property

This commit is contained in:
adelikat 2017-04-23 12:47:26 -05:00
parent 71f33e53f5
commit 4260ad528b
4 changed files with 8 additions and 3 deletions

View File

@ -14,7 +14,9 @@ namespace BizHawk.Emulation.Cores.Intellivision
// There are 10 mappers Intellivision games use (not counting intellicart which is handled seperately)
// we will pick the mapper from the game DB and default to 0
private int mapper = 0;
private int mapper = 0;
public string BoardName => $"Mapper {mapper}";
public void SyncState(Serializer ser)
{

View File

@ -9,5 +9,7 @@ namespace BizHawk.Emulation.Cores.Intellivision
bool WriteCart(ushort addr, ushort value, bool poke);
void SyncState(Serializer ser);
string BoardName { get; }
}
}

View File

@ -5,6 +5,8 @@ namespace BizHawk.Emulation.Cores.Intellivision
{
public sealed class Intellicart : ICart
{
public string BoardName => $"Intellicart";
public void SyncState(Serializer ser)
{
ser.BeginSection("Cart");

View File

@ -125,8 +125,7 @@ namespace BizHawk.Emulation.Cores.Intellivision
public bool DeterministicEmulation => true;
[FeatureNotImplemented]
public string BoardName => null;
public string BoardName => _cart.BoardName;
public void ResetCounters()
{