summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/funworld.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/funworld.cpp
parent283fbf13a4c8c07e3e45fdae316842d7a8608f2f (diff)
modernized bookkeeping manager (nw)
Diffstat (limited to 'src/mame/drivers/funworld.cpp')
-rw-r--r--src/mame/drivers/funworld.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/funworld.cpp b/src/mame/drivers/funworld.cpp
index 6f24d9dac56..67735df765a 100644
--- a/src/mame/drivers/funworld.cpp
+++ b/src/mame/drivers/funworld.cpp
@@ -1022,8 +1022,8 @@ WRITE8_MEMBER(funworld_state::funworld_lamp_a_w)
output_set_lamp_value(3, (data >> 7) & 1); /* Hold4 / High */
output_set_lamp_value(5, 1-((data >> 5) & 1)); /* Cancel / Collect (inverted) */
- coin_counter_w(machine(), 0, data & 0x01); /* Credit In counter */
- coin_counter_w(machine(), 7, data & 0x04); /* Credit Out counter, mapped as coin 8 */
+ machine().bookkeeping().coin_counter_w(0, data & 0x01); /* Credit In counter */
+ machine().bookkeeping().coin_counter_w(7, data & 0x04); /* Credit Out counter, mapped as coin 8 */
output_set_lamp_value(7, 1-((data >> 6) & 1)); /* Hopper Motor (inverted) */