From 10b8ca80b9bc4cf48e0d31df23ade28353553312 Mon Sep 17 00:00:00 2001 From: adelikat Date: Fri, 4 Aug 2017 18:58:53 -0500 Subject: [PATCH] Atari7800Hawk - implement IBoardInfo --- .../Consoles/Atari/A7800Hawk/A7800Hawk.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Atari/A7800Hawk/A7800Hawk.cs b/BizHawk.Emulation.Cores/Consoles/Atari/A7800Hawk/A7800Hawk.cs index 71c5e25826..28186d30c5 100644 --- a/BizHawk.Emulation.Cores/Consoles/Atari/A7800Hawk/A7800Hawk.cs +++ b/BizHawk.Emulation.Cores/Consoles/Atari/A7800Hawk/A7800Hawk.cs @@ -13,8 +13,8 @@ namespace BizHawk.Emulation.Cores.Atari.A7800Hawk isPorted: false, isReleased: true)] [ServiceNotApplicable(typeof(ISettable<,>), typeof(IDriveLight))] - public partial class A7800Hawk : IEmulator, ISaveRam, IDebuggable, IStatable, IInputPollable, IRegionable, - ISettable + public partial class A7800Hawk : IEmulator, ISaveRam, IDebuggable, IStatable, IInputPollable, + IRegionable, IBoardInfo, ISettable { // this register selects between 2600 and 7800 mode in the A7800 // however, we already have a 2600 emulator so this core will only be loading A7800 games @@ -235,6 +235,8 @@ namespace BizHawk.Emulation.Cores.Atari.A7800Hawk HardReset(); } + public string BoardName => mapper.GetType().Name.Replace("Mapper", ""); + public DisplayType Region => _isPAL ? DisplayType.PAL : DisplayType.NTSC; private readonly A7800HawkControllerDeck _controllerDeck;