summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/polyplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/polyplay.cpp')
-rw-r--r--src/mame/drivers/polyplay.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/mame/drivers/polyplay.cpp b/src/mame/drivers/polyplay.cpp
index 1764734f1e3..b9618c19055 100644
--- a/src/mame/drivers/polyplay.cpp
+++ b/src/mame/drivers/polyplay.cpp
@@ -190,38 +190,38 @@ WRITE8_MEMBER(polyplay_state::pio_portb_w)
switch (lightState)
{
case 0:
- output().set_lamp_value(1, 1);
- output().set_lamp_value(2, 0);
- output().set_lamp_value(3, 0);
- output().set_lamp_value(4, 0);
+ m_lamp[1] = 1;
+ m_lamp[2] = 0;
+ m_lamp[3] = 0;
+ m_lamp[4] = 0;
break;
case 1:
- output().set_lamp_value(1, 0);
- output().set_lamp_value(2, 1);
- output().set_lamp_value(3, 0);
- output().set_lamp_value(4, 0);
+ m_lamp[1] = 0;
+ m_lamp[2] = 1;
+ m_lamp[3] = 0;
+ m_lamp[4] = 0;
break;
case 2:
- output().set_lamp_value(1, 0);
- output().set_lamp_value(2, 0);
- output().set_lamp_value(3, 1);
- output().set_lamp_value(4, 0);
+ m_lamp[1] = 0;
+ m_lamp[2] = 0;
+ m_lamp[3] = 1;
+ m_lamp[4] = 0;
break;
case 3:
- output().set_lamp_value(1, 0);
- output().set_lamp_value(2, 0);
- output().set_lamp_value(3, 0);
- output().set_lamp_value(4, 1);
+ m_lamp[1] = 0;
+ m_lamp[2] = 0;
+ m_lamp[3] = 0;
+ m_lamp[4] = 1;
break;
default:
- output().set_lamp_value(1, 0);
- output().set_lamp_value(2, 0);
- output().set_lamp_value(3, 0);
- output().set_lamp_value(4, 0);
+ m_lamp[1] = 0;
+ m_lamp[2] = 0;
+ m_lamp[3] = 0;
+ m_lamp[4] = 0;
break;
}
}