diff options
Diffstat (limited to 'src/emu/cpu/mc68hc11/mc68hc11.c')
-rw-r--r-- | src/emu/cpu/mc68hc11/mc68hc11.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/cpu/mc68hc11/mc68hc11.c b/src/emu/cpu/mc68hc11/mc68hc11.c index c701e911d16..864afd21056 100644 --- a/src/emu/cpu/mc68hc11/mc68hc11.c +++ b/src/emu/cpu/mc68hc11/mc68hc11.c @@ -61,7 +61,7 @@ struct _hc11_state device_irq_callback irq_callback; UINT8 irq_state[2]; - running_device *device; + cpu_device *device; const address_space *program; const address_space *io; int icount; @@ -416,8 +416,8 @@ static CPU_INIT( hc11 ) cpustate->ram_position = 0x100; cpustate->irq_callback = irqcallback; cpustate->device = device; - cpustate->program = device_memory(device)->space(AS_PROGRAM); - cpustate->io = device_memory(device)->space(AS_IO); + cpustate->program = device->space(AS_PROGRAM); + cpustate->io = device->space(AS_IO); } static CPU_RESET( hc11 ) @@ -537,7 +537,7 @@ static CPU_SET_INFO( mc68hc11 ) CPU_GET_INFO( mc68hc11 ) { - hc11_state *cpustate = (device != NULL && downcast<cpu_device *>(device)->token() != NULL) ? get_safe_token(device) : NULL; + hc11_state *cpustate = (device != NULL && device->token() != NULL) ? get_safe_token(device) : NULL; switch(state) { |