summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/djboy.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/djboy.cpp
parent283fbf13a4c8c07e3e45fdae316842d7a8608f2f (diff)
downloadmame-96490888396584845d0fd923b44c3b7611e56f8e.tar.bz2
mame-96490888396584845d0fd923b44c3b7611e56f8e.zip
modernized bookkeeping manager (nw)
Diffstat (limited to 'src/mame/drivers/djboy.cpp')
-rw-r--r--src/mame/drivers/djboy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/djboy.cpp b/src/mame/drivers/djboy.cpp
index 0b0fdfb7045..ae0efeed0ee 100644
--- a/src/mame/drivers/djboy.cpp
+++ b/src/mame/drivers/djboy.cpp
@@ -222,8 +222,8 @@ WRITE8_MEMBER(djboy_state::cpu1_bankswitch_w)
WRITE8_MEMBER(djboy_state::coin_count_w)
{
- coin_counter_w(machine(), 0, data & 1);
- coin_counter_w(machine(), 1, data & 2);
+ machine().bookkeeping().coin_counter_w(0, data & 1);
+ machine().bookkeeping().coin_counter_w(1, data & 2);
}
/******************************************************************************/