summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/mhavoc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/mhavoc.cpp')
-rw-r--r--src/mame/machine/mhavoc.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mame/machine/mhavoc.cpp b/src/mame/machine/mhavoc.cpp
index 81a4b93db40..3c075767ed9 100644
--- a/src/mame/machine/mhavoc.cpp
+++ b/src/mame/machine/mhavoc.cpp
@@ -66,6 +66,8 @@ WRITE8_MEMBER(mhavoc_state::mhavoc_gamma_irq_ack_w)
void mhavoc_state::machine_start()
{
+ m_lamp.resolve();
+
save_item(NAME(m_alpha_data));
save_item(NAME(m_alpha_rcvd));
save_item(NAME(m_alpha_xmtd));
@@ -269,17 +271,17 @@ WRITE8_MEMBER(mhavoc_state::mhavoc_out_0_w)
/* this is the unpopulated processor in the corner of the pcb farthest from the quad pokey, not used on shipping boards */
/* Bit 0 = Roller light (Blinks on fatal errors) */
- output().set_led_value(0, data & 0x01);
+ m_lamp[0] = BIT(data, 0);
}
WRITE8_MEMBER(mhavoc_state::alphaone_out_0_w)
{
/* Bit 5 = P2 lamp */
- output().set_led_value(0, ~data & 0x20);
+ m_lamp[0] = BIT(~data, 5);
/* Bit 4 = P1 lamp */
- output().set_led_value(1, ~data & 0x10);
+ m_lamp[1] = BIT(~data, 4);
/* Bit 1 = right coin counter */
machine().bookkeeping().coin_counter_w(1, data & 0x02);