summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/tms7000/tms7000.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/tms7000/tms7000.c')
-rw-r--r--src/emu/cpu/tms7000/tms7000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/tms7000/tms7000.c b/src/emu/cpu/tms7000/tms7000.c
index 3d74a310675..ab83457b2e9 100644
--- a/src/emu/cpu/tms7000/tms7000.c
+++ b/src/emu/cpu/tms7000/tms7000.c
@@ -73,7 +73,7 @@ struct _tms7000_state
UINT8 rf[0x80]; /* Register file (SJE) */
UINT8 pf[0x100]; /* Perpherial file */
device_irq_callback irq_callback;
- cpu_device *device;
+ legacy_cpu_device *device;
const address_space *program;
const address_space *io;
int icount;
@@ -91,7 +91,7 @@ INLINE tms7000_state *get_safe_token(running_device *device)
assert(device->type() == CPU);
assert(cpu_get_type(device) == CPU_TMS7000 ||
cpu_get_type(device) == CPU_TMS7000_EXL);
- return (tms7000_state *)downcast<cpu_device *>(device)->token();
+ return (tms7000_state *)downcast<legacy_cpu_device *>(device)->token();
}
#define pPC cpustate->pc.w.l