From a70fdf00a1e29a2009b1f148373a6be79c1584cc Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Mon, 22 Dec 2008 17:35:27 +0000 Subject: CPU interface organization shuffle. The file cpuintrf.h now merely describes the interface, but does not contain any implementation. All remaining bits of implementation have been migrated either to cpuexec.c or to debugcpu.c. Specifically, cpu_dasm() is now debug_cpu_disassemble(), and cpu_set_dasm_override() is now debug_cpu_set_dasm_override(). Also moved memory_address_physical() to debug_cpu_translate(), since it was only ever used for debugging. Changed all CPU and sound cores to use memory_find_address_space() instead of cpu_get_address_space(). The former is reliable even during early initialization when the CPU cores generally need it. Removed the dummy CPU core and cpuintrf.c. Changed the core execution loop to directly call the execute function instead of using the inline helper (which has been removed). --- src/emu/cpu/m68000/m68kcpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/emu/cpu/m68000/m68kcpu.c') diff --git a/src/emu/cpu/m68000/m68kcpu.c b/src/emu/cpu/m68000/m68kcpu.c index f23acb8ae34..0244b1c53bd 100644 --- a/src/emu/cpu/m68000/m68kcpu.c +++ b/src/emu/cpu/m68000/m68kcpu.c @@ -504,7 +504,7 @@ static CPU_INIT( m68k ) m68ki_cpu_core *m68k = device->token; m68k->device = device; - m68k->program = cpu_get_address_space(device, ADDRESS_SPACE_PROGRAM); + m68k->program = memory_find_address_space(device, ADDRESS_SPACE_PROGRAM); m68k->int_ack_callback = irqcallback; /* The first call to this function initializes the opcode handler jump table */ -- cgit v1.2.3-70-g09d2