summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/model1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/model1.cpp')
-rw-r--r--src/mame/drivers/model1.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/model1.cpp b/src/mame/drivers/model1.cpp
index 3d40fe656ff..e7bfefe7332 100644
--- a/src/mame/drivers/model1.cpp
+++ b/src/mame/drivers/model1.cpp
@@ -663,12 +663,12 @@ WRITE16_MEMBER(model1_state::io_w)
{
if(offset == 0x0f){
// tested in vr, vf, swa, wingwar
- set_led_status(machine(), 0, data & 0x4); // START (1)
- set_led_status(machine(), 1, data & 0x8); // VIEW1 (START2 - VF)
- set_led_status(machine(), 2, data & 0x10); // VIEW2 (VIEW - SWA)
- set_led_status(machine(), 3, data & 0x20); // VIEW3
- set_led_status(machine(), 4, data & 0x40); // VIEW4
- set_led_status(machine(), 5, data & 0x80); // RACE LEADER
+ machine().output().set_led_value(0, data & 0x4); // START (1)
+ machine().output().set_led_value(1, data & 0x8); // VIEW1 (START2 - VF)
+ machine().output().set_led_value(2, data & 0x10); // VIEW2 (VIEW - SWA)
+ machine().output().set_led_value(3, data & 0x20); // VIEW3
+ machine().output().set_led_value(4, data & 0x40); // VIEW4
+ machine().output().set_led_value(5, data & 0x80); // RACE LEADER
m_lamp_state = data;
return;
}