summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tempest.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-01-10 13:19:57 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-01-10 13:19:57 +0100
commit96490888396584845d0fd923b44c3b7611e56f8e (patch)
tree66d6bf4cb72e6e1f5f438f1fee40c5c8ed72b274 /src/mame/drivers/tempest.cpp
parent283fbf13a4c8c07e3e45fdae316842d7a8608f2f (diff)
modernized bookkeeping manager (nw)
Diffstat (limited to 'src/mame/drivers/tempest.cpp')
-rw-r--r--src/mame/drivers/tempest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/tempest.cpp b/src/mame/drivers/tempest.cpp
index 7d0e939f127..2766933035c 100644
--- a/src/mame/drivers/tempest.cpp
+++ b/src/mame/drivers/tempest.cpp
@@ -408,9 +408,9 @@ WRITE8_MEMBER(tempest_state::tempest_led_w)
WRITE8_MEMBER(tempest_state::tempest_coin_w)
{
- coin_counter_w(machine(), 0, (data & 0x01));
- coin_counter_w(machine(), 1, (data & 0x02));
- coin_counter_w(machine(), 2, (data & 0x04));
+ machine().bookkeeping().coin_counter_w(0, (data & 0x01));
+ machine().bookkeeping().coin_counter_w(1, (data & 0x02));
+ machine().bookkeeping().coin_counter_w(2, (data & 0x04));
m_avg->set_flip_x(data & 0x08);
m_avg->set_flip_y(data & 0x10);
}