rainbow: copy-paste mistake(nw)

This commit is contained in:
cracyc 2016-06-04 16:10:42 -05:00
parent 0c38229925
commit a388c79cc0

View File

@ -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);