summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/timekpr.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-11-10 07:42:09 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-11-10 07:42:09 +0000
commit92f305310513e310dcca7f5b1c3fe7ec2b197775 (patch)
tree26a4873c3e46ad13db9d1a92de2be5179754d95b /src/emu/machine/timekpr.c
parent7c2bd582be58669e84d3bfd2c927401641a7fa80 (diff)
Major cpuintrf changes:
* added a set of cpu_* calls which accept a CPU device object; these are now the preferred means of manipulating a CPU * removed the cpunum_* calls; added an array of cpu[] to the running_machine object; converted all existing cpunum_* calls to cpu_* calls, pulling the CPU device object from the new array in the running_machine * removed the activecpu_* calls; added an activecpu member to the running_machine object; converted all existing activecpu_* calls to cpu_* calls, pulling the active CPU device object from the running_machine * changed cpuintrf_push_context() to cpu_push_context(), taking a CPU object pointer; changed cpuintrf_pop_context() to cpu_pop_context(); eventually these will go away * many other similar changes moving toward a model where all CPU references are done by the CPU object and not by index
Diffstat (limited to 'src/emu/machine/timekpr.c')
-rw-r--r--src/emu/machine/timekpr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/machine/timekpr.c b/src/emu/machine/timekpr.c
index c64937c4680..ad326d37b01 100644
--- a/src/emu/machine/timekpr.c
+++ b/src/emu/machine/timekpr.c
@@ -266,7 +266,7 @@ WRITE8_DEVICE_HANDLER( timekeeper_w )
data &= ~FLAGS_BL;
}
-// logerror( "%08x: timekeeper_write( %s, %04x, %02x )\n", activecpu_get_pc(), c->device->tag, offset, data );
+// logerror( "%08x: timekeeper_write( %s, %04x, %02x )\n", cpu_get_pc(machine->activecpu), c->device->tag, offset, data );
c->data[ offset ] = data;
}
@@ -274,7 +274,7 @@ READ8_DEVICE_HANDLER( timekeeper_r )
{
timekeeper_state *c = get_safe_token(device);
UINT8 data = c->data[ offset ];
-// logerror( "%08x: timekeeper_read( %s, %04x ) %02x\n", activecpu_get_pc(), c->device->tag, offset, data );
+// logerror( "%08x: timekeeper_read( %s, %04x ) %02x\n", cpu_get_pc(machine->activecpu), c->device->tag, offset, data );
return data;
}