diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2017-12-06 19:52:41 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2017-12-06 19:52:41 -0500 |
commit | 97528fb0d9fc53dc4a05e4c054a8a096b395c48b (patch) | |
tree | f2fef6230a33a540e787457e8d19ce9e77c47127 /src/mame/drivers/gei.cpp | |
parent | ff7410929df6588c712e10b76167d8cf04c16ce4 (diff) |
ticket.cpp: Eliminate legacy write method and "active bit" nonsense (nw)
Diffstat (limited to 'src/mame/drivers/gei.cpp')
-rw-r--r-- | src/mame/drivers/gei.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/gei.cpp b/src/mame/drivers/gei.cpp index 28c2ffbc11e..87186cd4c6b 100644 --- a/src/mame/drivers/gei.cpp +++ b/src/mame/drivers/gei.cpp @@ -212,8 +212,8 @@ WRITE8_MEMBER(gei_state::sound_w) output().set_led_value(9, BIT(data, 3)); /* bit 5 - ticket out in trivia games */ - if (m_ticket != nullptr) - m_ticket->write(machine().dummy_space(), 0, (data & 0x20) << 2); + if (m_ticket.found()) + m_ticket->motor_w(BIT(data, 5)); /* bit 6 enables NMI */ m_nmi_mask = data & 0x40; |