O2 - implement IBoardInfo
This commit is contained in:
parent
9eb63cd6c9
commit
81bdacea64
|
@ -12,7 +12,7 @@ namespace BizHawk.Emulation.Cores.Consoles.O2Hawk
|
||||||
isPorted: false,
|
isPorted: false,
|
||||||
isReleased: false)]
|
isReleased: false)]
|
||||||
[ServiceNotApplicable(new[] { typeof(IDriveLight) })]
|
[ServiceNotApplicable(new[] { typeof(IDriveLight) })]
|
||||||
public partial class O2Hawk : IEmulator, ISaveRam, IDebuggable, IInputPollable, IRegionable, ISettable<O2Hawk.O2Settings, O2Hawk.O2SyncSettings>
|
public partial class O2Hawk : IEmulator, ISaveRam, IDebuggable, IInputPollable, IRegionable, ISettable<O2Hawk.O2Settings, O2Hawk.O2SyncSettings>, IBoardInfo
|
||||||
{
|
{
|
||||||
// memory domains
|
// memory domains
|
||||||
public byte[] RAM = new byte[0x80];
|
public byte[] RAM = new byte[0x80];
|
||||||
|
@ -141,6 +141,8 @@ namespace BizHawk.Emulation.Cores.Consoles.O2Hawk
|
||||||
cpu.Reset();
|
cpu.Reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public string BoardName => mapper.GetType().Name;
|
||||||
|
|
||||||
private void ExecFetch(ushort addr)
|
private void ExecFetch(ushort addr)
|
||||||
{
|
{
|
||||||
uint flags = (uint)MemoryCallbackFlags.AccessRead;
|
uint flags = (uint)MemoryCallbackFlags.AccessRead;
|
||||||
|
|
Loading…
Reference in New Issue