summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/taitoio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/taitoio.c')
-rw-r--r--src/mame/machine/taitoio.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/mame/machine/taitoio.c b/src/mame/machine/taitoio.c
index 6e8298933ed..aaf9f885560 100644
--- a/src/mame/machine/taitoio.c
+++ b/src/mame/machine/taitoio.c
@@ -126,15 +126,15 @@ WRITE8_DEVICE_HANDLER( tc0220ioc_w )
{
case 0x00:
- device->machine().watchdog_reset();
+ space.machine().watchdog_reset();
break;
case 0x04: /* coin counters and lockout, hi nibble irrelevant */
- coin_lockout_w(device->machine(), 0, ~data & 0x01);
- coin_lockout_w(device->machine(), 1, ~data & 0x02);
- coin_counter_w(device->machine(), 0, data & 0x04);
- coin_counter_w(device->machine(), 1, data & 0x08);
+ coin_lockout_w(space.machine(), 0, ~data & 0x01);
+ coin_lockout_w(space.machine(), 1, ~data & 0x02);
+ coin_counter_w(space.machine(), 0, data & 0x04);
+ coin_counter_w(space.machine(), 1, data & 0x08);
//if (data & 0xf0)
//logerror("PC %06x: warning - write %02x to TC0220IOC address %02x\n",space.device().safe_pc(),data,offset);
@@ -282,14 +282,14 @@ WRITE8_DEVICE_HANDLER( tc0510nio_w )
switch (offset)
{
case 0x00:
- device->machine().watchdog_reset();
+ space.machine().watchdog_reset();
break;
case 0x04: /* coin counters and lockout */
- coin_lockout_w(device->machine(), 0, ~data & 0x01);
- coin_lockout_w(device->machine(), 1, ~data & 0x02);
- coin_counter_w(device->machine(), 0, data & 0x04);
- coin_counter_w(device->machine(), 1, data & 0x08);
+ coin_lockout_w(space.machine(), 0, ~data & 0x01);
+ coin_lockout_w(space.machine(), 1, ~data & 0x02);
+ coin_counter_w(space.machine(), 0, data & 0x04);
+ coin_counter_w(space.machine(), 1, data & 0x08);
break;
default:
@@ -432,14 +432,14 @@ WRITE8_DEVICE_HANDLER( tc0640fio_w )
{
case 0x00:
- device->machine().watchdog_reset();
+ space.machine().watchdog_reset();
break;
case 0x04: /* coin counters and lockout */
- coin_lockout_w(device->machine(), 0, ~data & 0x01);
- coin_lockout_w(device->machine(), 1, ~data & 0x02);
- coin_counter_w(device->machine(), 0, data & 0x04);
- coin_counter_w(device->machine(), 1, data & 0x08);
+ coin_lockout_w(space.machine(), 0, ~data & 0x01);
+ coin_lockout_w(space.machine(), 1, ~data & 0x02);
+ coin_counter_w(space.machine(), 0, data & 0x04);
+ coin_counter_w(space.machine(), 1, data & 0x08);
break;
default: