diff options
Diffstat (limited to 'src/mame/drivers/elf.cpp')
-rw-r--r-- | src/mame/drivers/elf.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/elf.cpp b/src/mame/drivers/elf.cpp index a2736a0e55c..fb685c77450 100644 --- a/src/mame/drivers/elf.cpp +++ b/src/mame/drivers/elf.cpp @@ -154,7 +154,7 @@ READ_LINE_MEMBER( elf2_state::ef4_r ) WRITE_LINE_MEMBER( elf2_state::q_w ) { - output().set_led_value(0, state); + m_led = state ? 1 : 0; } READ8_MEMBER( elf2_state::dma_r ) @@ -202,6 +202,8 @@ void elf2_state::machine_start() { address_space &program = m_maincpu->space(AS_PROGRAM); + m_led.resolve(); + /* initialize LED displays */ m_7segs.resolve(); m_led_l->rbi_w(1); |