summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/thedealr.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/thedealr.cpp
parent283fbf13a4c8c07e3e45fdae316842d7a8608f2f (diff)
modernized bookkeeping manager (nw)
Diffstat (limited to 'src/mame/drivers/thedealr.cpp')
-rw-r--r--src/mame/drivers/thedealr.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/thedealr.cpp b/src/mame/drivers/thedealr.cpp
index 827a3af6d52..ed348bd9163 100644
--- a/src/mame/drivers/thedealr.cpp
+++ b/src/mame/drivers/thedealr.cpp
@@ -164,10 +164,10 @@ WRITE8_MEMBER(thedealr_state::iox_w)
case 0x40: // coin counters
m_iox_coins = data;
- coin_counter_w(machine(), 0, (~data) & 0x02); // coin1 or service coin
- coin_counter_w(machine(), 1, (~data) & 0x04); // coupon
- coin_counter_w(machine(), 2, (~data) & 0x08); // service coin
- coin_counter_w(machine(), 3, (~data) & 0x10); // coin-out
+ machine().bookkeeping().coin_counter_w(0, (~data) & 0x02); // coin1 or service coin
+ machine().bookkeeping().coin_counter_w(1, (~data) & 0x04); // coupon
+ machine().bookkeeping().coin_counter_w(2, (~data) & 0x08); // service coin
+ machine().bookkeeping().coin_counter_w(3, (~data) & 0x10); // coin-out
if ((~data) & 0xe1)
logerror("%s: unknown bits written to command %02X: %02X\n", machine().describe_context(), m_iox_cmd, data);
break;