diff --git a/src/mame/machine/segaic16.c b/src/mame/machine/segaic16.c index 8be3077484b..39094931feb 100644 --- a/src/mame/machine/segaic16.c +++ b/src/mame/machine/segaic16.c @@ -216,7 +216,7 @@ static void memory_mapper_w(const address_space *space, struct memory_mapper_chi if ((oldval ^ chip->regs[offset]) & 3) { if ((chip->regs[offset] & 3) == 3) - fd1094_machine_init(space->machine->cpu[0]); + fd1094_machine_init(chip->cpu); /* fd1094_machine_init calls device_reset on the CPU, so we must do this afterwards */ cpu_set_input_line(chip->cpu, INPUT_LINE_RESET, (chip->regs[offset] & 3) == 3 ? ASSERT_LINE : CLEAR_LINE);