summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/dlair.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/dlair.cpp')
-rw-r--r--src/mame/drivers/dlair.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/dlair.cpp b/src/mame/drivers/dlair.cpp
index 54d89029efb..f640c8b33b0 100644
--- a/src/mame/drivers/dlair.cpp
+++ b/src/mame/drivers/dlair.cpp
@@ -265,7 +265,7 @@ WRITE8_MEMBER(dlair_state::misc_w)
UINT8 diff = data ^ m_last_misc;
m_last_misc = data;
- coin_counter_w(machine(), 0, (~data >> 4) & 1);
+ machine().bookkeeping().coin_counter_w(0, (~data >> 4) & 1);
/* on bit 5 going low, push the data out to the laserdisc player */
if ((diff & 0x20) && !(data & 0x20))
@@ -291,8 +291,8 @@ WRITE8_MEMBER(dlair_state::dleuro_misc_w)
UINT8 diff = data ^ m_last_misc;
m_last_misc = data;
- coin_counter_w(machine(), 1, (~data >> 3) & 1);
- coin_counter_w(machine(), 0, (~data >> 4) & 1);
+ machine().bookkeeping().coin_counter_w(1, (~data >> 3) & 1);
+ machine().bookkeeping().coin_counter_w(0, (~data >> 4) & 1);
/* on bit 5 going low, push the data out to the laserdisc player */
if ((diff & 0x20) && !(data & 0x20))