[ChannelFHawk] Fix the chess (Schach) computer 'thinking' activity LED (the original cart had an LED built into it - we are using the DriveActivity indicator in Bizhawk for this purpose)

This commit is contained in:
Asnivor 2024-09-05 14:16:08 +01:00
parent 1fb56010e6
commit c994e7bc84
3 changed files with 5 additions and 5 deletions

View File

@ -171,6 +171,7 @@ namespace BizHawk.Emulation.Cores.Consoles.ChannelF
m_addr_latch = 0; m_addr_latch = 0;
m_read_write = 0; m_read_write = 0;
m_data0 = 0; m_data0 = 0;
ActivityLED = false;
} }
public virtual void SyncState(Serializer ser) public virtual void SyncState(Serializer ser)

View File

@ -48,12 +48,11 @@
} }
else if (addr == 0x3800) else if (addr == 0x3800)
{ {
// activity LED ActivityLED = false;
ActivityLED = !ActivityLED;
} }
else else if (addr == 0x8000)
{ {
ActivityLED = true;
} }
} }

View File

@ -74,6 +74,6 @@ namespace BizHawk.Emulation.Cores.Consoles.ChannelF
public bool DriveLightEnabled => true; public bool DriveLightEnabled => true;
public bool DriveLightOn => !Cartridge.ActivityLED; public bool DriveLightOn => Cartridge.ActivityLED;
} }
} }