summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/microtan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/microtan.cpp')
-rw-r--r--src/mame/machine/microtan.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/microtan.cpp b/src/mame/machine/microtan.cpp
index 158c7a9fed5..ce8e381746d 100644
--- a/src/mame/machine/microtan.cpp
+++ b/src/mame/machine/microtan.cpp
@@ -362,7 +362,7 @@ INTERRUPT_GEN_MEMBER(microtan_state::microtan_interrupt)
m_lastrow = row;
/* CapsLock LED */
if( row == 3 && chg == 0x80 )
- set_led_status(machine(), 1, (m_keyrows[3] & 0x80) ? 0 : 1);
+ machine().output().set_led_value(1, (m_keyrows[3] & 0x80) ? 0 : 1);
if (newvar & chg) /* key(s) pressed ? */
{
@@ -519,7 +519,7 @@ void microtan_state::machine_reset()
{
m_keyrows[i] = ioport(keynames[i-1])->read();
}
- set_led_status(machine(), 1, (m_keyrows[3] & 0x80) ? 0 : 1);
+ machine().output().set_led_value(1, (m_keyrows[3] & 0x80) ? 0 : 1);
}
int microtan_state::microtan_verify_snapshot(UINT8 *data, int size)