diff options
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 |
commit | 96490888396584845d0fd923b44c3b7611e56f8e (patch) | |
tree | 66d6bf4cb72e6e1f5f438f1fee40c5c8ed72b274 /src/mame/drivers/tetrisp2.cpp | |
parent | 283fbf13a4c8c07e3e45fdae316842d7a8608f2f (diff) |
modernized bookkeeping manager (nw)
Diffstat (limited to 'src/mame/drivers/tetrisp2.cpp')
-rw-r--r-- | src/mame/drivers/tetrisp2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/tetrisp2.cpp b/src/mame/drivers/tetrisp2.cpp index 8982a7657f5..602ce7faa0b 100644 --- a/src/mame/drivers/tetrisp2.cpp +++ b/src/mame/drivers/tetrisp2.cpp @@ -281,7 +281,7 @@ WRITE16_MEMBER(tetrisp2_state::rocknms_sub2main_w) WRITE16_MEMBER(tetrisp2_state::tetrisp2_coincounter_w) { - coin_counter_w( machine(), 0, (data & 0x0001)); + machine().bookkeeping().coin_counter_w(0, (data & 0x0001)); } @@ -331,9 +331,9 @@ WRITE16_MEMBER(tetrisp2_state::nndmseal_coincounter_w) { if (ACCESSING_BITS_0_7) { - coin_counter_w( machine(), 0, data & 0x0001 ); + machine().bookkeeping().coin_counter_w(0, data & 0x0001 ); // data & 0x0004 ? - coin_lockout_w( machine(), 0,(~data) & 0x0008 ); + machine().bookkeeping().coin_lockout_w(0,(~data) & 0x0008 ); } if (ACCESSING_BITS_8_15) { |