mirror of
https://github.com/holub/mame
synced 2025-07-03 09:06:08 +03:00
rainbow: copy-paste mistake(nw)
This commit is contained in:
parent
0c38229925
commit
a388c79cc0
@ -658,9 +658,9 @@ void lk201_device::send_port(address_space &space, UINT8 offset, UINT8 olddata)
|
|||||||
if (portc & 0x2) kbd_data = m_kbd17->read();
|
if (portc & 0x2) kbd_data = m_kbd17->read();
|
||||||
}
|
}
|
||||||
// Check for LED update strobe
|
// Check for LED update strobe
|
||||||
if (((portc & 0x80) == 0) && (olddata & 0x40))
|
if (((portc & 0x80) == 0) && (olddata & 0x80))
|
||||||
{
|
{
|
||||||
^ // Lower nibble contains the LED values (1 = on, 0 = off)
|
// Lower nibble contains the LED values (1 = on, 0 = off)
|
||||||
machine().output().set_value("led_wait" , (led_data & 0x1) == 1);
|
machine().output().set_value("led_wait" , (led_data & 0x1) == 1);
|
||||||
machine().output().set_value("led_compose", (led_data & 0x2) == 2);
|
machine().output().set_value("led_compose", (led_data & 0x2) == 2);
|
||||||
machine().output().set_value("led_lock" , (led_data & 0x4) == 4);
|
machine().output().set_value("led_lock" , (led_data & 0x4) == 4);
|
||||||
|
Loading…
Reference in New Issue
Block a user