summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/minx/minx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/minx/minx.c')
-rw-r--r--src/emu/cpu/minx/minx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/minx/minx.c b/src/emu/cpu/minx/minx.c
index 80162384ab8..1e839441278 100644
--- a/src/emu/cpu/minx/minx.c
+++ b/src/emu/cpu/minx/minx.c
@@ -84,7 +84,7 @@ typedef struct {
UINT8 halted;
UINT8 interrupt_pending;
device_irq_callback irq_callback;
- cpu_device *device;
+ legacy_cpu_device *device;
const address_space *program;
int icount;
} minx_state;
@@ -99,7 +99,7 @@ INLINE minx_state *get_safe_token(running_device *device)
assert(device->type() == CPU);
assert(cpu_get_type(device) == CPU_MINX);
- return (minx_state *)downcast<cpu_device *>(device)->token();
+ return (minx_state *)downcast<legacy_cpu_device *>(device)->token();
}
INLINE UINT16 rd16( minx_state *minx, UINT32 offset )