From cd391a6e88c1aaf930943bb5af6368e00f551019 Mon Sep 17 00:00:00 2001 From: Asnivor Date: Thu, 5 Sep 2024 16:23:04 +0100 Subject: [PATCH] [ChannelFHawk] Remove the computer thinking activity indicator from the non-chess mappers --- .../Consoles/Fairchild/ChannelF/Cart/VesCartBase.cs | 4 ++++ .../Consoles/Fairchild/ChannelF/Cart/mapper_SCHACH.cs | 2 ++ .../Consoles/Fairchild/ChannelF/ChannelF.cs | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Fairchild/ChannelF/Cart/VesCartBase.cs b/src/BizHawk.Emulation.Cores/Consoles/Fairchild/ChannelF/Cart/VesCartBase.cs index a8586264d6..bccee77552 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Fairchild/ChannelF/Cart/VesCartBase.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Fairchild/ChannelF/Cart/VesCartBase.cs @@ -33,6 +33,10 @@ namespace BizHawk.Emulation.Cores.Consoles.ChannelF } protected byte[] _ram; + public virtual bool HasActivityLED { get; set; } + public virtual string ActivityLEDDescription { get; set; } + + public bool ActivityLED; public int MultiBank; public int MultiHalfBank; diff --git a/src/BizHawk.Emulation.Cores/Consoles/Fairchild/ChannelF/Cart/mapper_SCHACH.cs b/src/BizHawk.Emulation.Cores/Consoles/Fairchild/ChannelF/Cart/mapper_SCHACH.cs index 178cf4be9b..c1ac910789 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Fairchild/ChannelF/Cart/mapper_SCHACH.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Fairchild/ChannelF/Cart/mapper_SCHACH.cs @@ -8,6 +8,8 @@ public class mapper_SCHACH : VesCartBase { public override string BoardType => "SCHACH"; + public override bool HasActivityLED => true; + public override string ActivityLEDDescription => "Chess Brain Thinking Activity"; public mapper_SCHACH(byte[] rom) { diff --git a/src/BizHawk.Emulation.Cores/Consoles/Fairchild/ChannelF/ChannelF.cs b/src/BizHawk.Emulation.Cores/Consoles/Fairchild/ChannelF/ChannelF.cs index e9d68cbee4..acee864be8 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Fairchild/ChannelF/ChannelF.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Fairchild/ChannelF/ChannelF.cs @@ -72,7 +72,7 @@ namespace BizHawk.Emulation.Cores.Consoles.ChannelF public VesCartBase Cartridge; public RegionType region; - public bool DriveLightEnabled => true; + public bool DriveLightEnabled => Cartridge.HasActivityLED; public bool DriveLightOn => Cartridge.ActivityLED; }