summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/tms9900/99xxcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/tms9900/99xxcore.h')
-rw-r--r--src/emu/cpu/tms9900/99xxcore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/tms9900/99xxcore.h b/src/emu/cpu/tms9900/99xxcore.h
index 5d9bf06e7b5..46f0fce2eab 100644
--- a/src/emu/cpu/tms9900/99xxcore.h
+++ b/src/emu/cpu/tms9900/99xxcore.h
@@ -1294,8 +1294,8 @@ static CPU_INIT( tms99xx )
cpustate->irq_level = 16;
cpustate->irq_callback = irqcallback;
cpustate->device = device;
- cpustate->program = device->space(AS_PROGRAM);
- cpustate->io = device->space(AS_IO);
+ cpustate->program = &device->space(AS_PROGRAM);
+ cpustate->io = &device->space(AS_IO);
#if (TMS99XX_MODEL == TMS9995_ID)
cpustate->timer = device->machine().scheduler().timer_alloc(FUNC(decrementer_callback), cpustate);