summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mgames.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/mgames.cpp
parent283fbf13a4c8c07e3e45fdae316842d7a8608f2f (diff)
modernized bookkeeping manager (nw)
Diffstat (limited to 'src/mame/drivers/mgames.cpp')
-rw-r--r--src/mame/drivers/mgames.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mgames.cpp b/src/mame/drivers/mgames.cpp
index 22437828406..ab63eea304f 100644
--- a/src/mame/drivers/mgames.cpp
+++ b/src/mame/drivers/mgames.cpp
@@ -483,7 +483,7 @@ WRITE8_MEMBER(mgames_state::outport5_w)
WRITE8_MEMBER(mgames_state::outport6_w)
{
- coin_counter_w(machine(), 1, data & 0x02); /* Payout pulse */
+ machine().bookkeeping().coin_counter_w(1, data & 0x02); /* Payout pulse */
m_output[6] = data;
popmessage("outport6 : %02X %02X %02X %02X %02X %02X %02X %02X", m_output[0], m_output[1], m_output[2], m_output[3], m_output[4], m_output[5], m_output[6], m_output[7]);
@@ -503,7 +503,7 @@ WRITE8_MEMBER(mgames_state::outport6_w)
WRITE8_MEMBER(mgames_state::outport7_w)
{
- coin_counter_w(machine(), 0, data & 0x02); /* Coin pulse */
+ machine().bookkeeping().coin_counter_w(0, data & 0x02); /* Coin pulse */
m_output[7] = data;
popmessage("outport7 : %02X %02X %02X %02X %02X %02X %02X %02X", m_output[0], m_output[1], m_output[2], m_output[3], m_output[4], m_output[5], m_output[6], m_output[7]);