O2 - implement IBoardInfo

This commit is contained in:
adelikat 2020-04-11 09:21:35 -05:00
parent 9eb63cd6c9
commit 81bdacea64
1 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,7 @@ namespace BizHawk.Emulation.Cores.Consoles.O2Hawk
isPorted: false,
isReleased: false)]
[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
public byte[] RAM = new byte[0x80];
@ -141,6 +141,8 @@ namespace BizHawk.Emulation.Cores.Consoles.O2Hawk
cpu.Reset();
}
public string BoardName => mapper.GetType().Name;
private void ExecFetch(ushort addr)
{
uint flags = (uint)MemoryCallbackFlags.AccessRead;