summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/dlair.cpp
diff options
context:
space:
mode:
authorGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2016-01-10 13:19:57 +0100
committerGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2016-01-10 13:19:57 +0100
commit96490888396584845d0fd923b44c3b7611e56f8e (patch) (github)
tree66d6bf4cb72e6e1f5f438f1fee40c5c8ed72b274 /src/mame/drivers/dlair.cpp
parent283fbf13a4c8c07e3e45fdae316842d7a8608f2f (diff)
downloadmame-96490888396584845d0fd923b44c3b7611e56f8e.tar.bz2
mame-96490888396584845d0fd923b44c3b7611e56f8e.zip
modernized bookkeeping manager (nw)
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))