From b8f916e17ed8d232a0a340d04e22512ae1f9c923 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Thu, 17 Jun 2010 03:33:24 +0000 Subject: Change cpu_device into a base class. Rename old cpu_device to legacy_cpu_device. Update interfaces as appropriate. --- src/emu/cpu/apexc/apexc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/emu/cpu/apexc/apexc.c') diff --git a/src/emu/cpu/apexc/apexc.c b/src/emu/cpu/apexc/apexc.c index 9f86db68b1a..bcc8f92810b 100644 --- a/src/emu/cpu/apexc/apexc.c +++ b/src/emu/cpu/apexc/apexc.c @@ -358,7 +358,7 @@ struct _apexc_state /* running: flag implied by the existence of the stop instruction */ UINT32 pc; /* address of next instruction for the disassembler */ - cpu_device *device; + legacy_cpu_device *device; const address_space *program; const address_space *io; int icount; @@ -373,7 +373,7 @@ INLINE apexc_state *get_safe_token(running_device *device) assert(device != NULL); assert(device->type() == CPU); assert(cpu_get_type(device) == CPU_APEXC); - return (apexc_state *)downcast(device)->token(); + return (apexc_state *)downcast(device)->token(); } -- cgit v1.2.3-70-g09d2