diff options
Diffstat (limited to 'src/emu/cpu/h6280/h6280.c')
-rw-r--r-- | src/emu/cpu/h6280/h6280.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/cpu/h6280/h6280.c b/src/emu/cpu/h6280/h6280.c index 9d303120f70..6398a35e4d0 100644 --- a/src/emu/cpu/h6280/h6280.c +++ b/src/emu/cpu/h6280/h6280.c @@ -161,9 +161,9 @@ static CPU_INIT( h6280 ) cpustate->irq_callback = irqcallback; cpustate->device = device; - cpustate->program = device->space(AS_PROGRAM); + cpustate->program = &device->space(AS_PROGRAM); cpustate->direct = &cpustate->program->direct(); - cpustate->io = device->space(AS_IO); + cpustate->io = &device->space(AS_IO); } static CPU_RESET( h6280 ) @@ -178,9 +178,9 @@ static CPU_RESET( h6280 ) memset(cpustate, 0, sizeof(h6280_Regs)); cpustate->irq_callback = save_irqcallback; cpustate->device = device; - cpustate->program = device->space(AS_PROGRAM); + cpustate->program = &device->space(AS_PROGRAM); cpustate->direct = &cpustate->program->direct(); - cpustate->io = device->space(AS_IO); + cpustate->io = &device->space(AS_IO); /* set I and B flags */ P = _fI | _fB; |