Intellivision - implement the BoardName property
This commit is contained in:
parent
71f33e53f5
commit
4260ad528b
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -9,5 +9,7 @@ namespace BizHawk.Emulation.Cores.Intellivision
|
|||
bool WriteCart(ushort addr, ushort value, bool poke);
|
||||
|
||||
void SyncState(Serializer ser);
|
||||
|
||||
string BoardName { get; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue