[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:
parent
1fb56010e6
commit
c994e7bc84
|
@ -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)
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue