Intellivision - implement the BoardName property
This commit is contained in:
parent
71f33e53f5
commit
4260ad528b
|
@ -16,6 +16,8 @@ namespace BizHawk.Emulation.Cores.Intellivision
|
||||||
// we will pick the mapper from the game DB and default to 0
|
// 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)
|
public void SyncState(Serializer ser)
|
||||||
{
|
{
|
||||||
ser.BeginSection("Cart");
|
ser.BeginSection("Cart");
|
||||||
|
|
|
@ -9,5 +9,7 @@ namespace BizHawk.Emulation.Cores.Intellivision
|
||||||
bool WriteCart(ushort addr, ushort value, bool poke);
|
bool WriteCart(ushort addr, ushort value, bool poke);
|
||||||
|
|
||||||
void SyncState(Serializer ser);
|
void SyncState(Serializer ser);
|
||||||
|
|
||||||
|
string BoardName { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,8 @@ namespace BizHawk.Emulation.Cores.Intellivision
|
||||||
{
|
{
|
||||||
public sealed class Intellicart : ICart
|
public sealed class Intellicart : ICart
|
||||||
{
|
{
|
||||||
|
public string BoardName => $"Intellicart";
|
||||||
|
|
||||||
public void SyncState(Serializer ser)
|
public void SyncState(Serializer ser)
|
||||||
{
|
{
|
||||||
ser.BeginSection("Cart");
|
ser.BeginSection("Cart");
|
||||||
|
|
|
@ -125,8 +125,7 @@ namespace BizHawk.Emulation.Cores.Intellivision
|
||||||
|
|
||||||
public bool DeterministicEmulation => true;
|
public bool DeterministicEmulation => true;
|
||||||
|
|
||||||
[FeatureNotImplemented]
|
public string BoardName => _cart.BoardName;
|
||||||
public string BoardName => null;
|
|
||||||
|
|
||||||
public void ResetCounters()
|
public void ResetCounters()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue