diff options
Diffstat (limited to 'src/emu/cpu/f8/f8.c')
-rw-r--r-- | src/emu/cpu/f8/f8.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/emu/cpu/f8/f8.c b/src/emu/cpu/f8/f8.c index 229779d10ff..67a76c73b91 100644 --- a/src/emu/cpu/f8/f8.c +++ b/src/emu/cpu/f8/f8.c @@ -1575,7 +1575,7 @@ static int f8_execute(int cycles) do { UINT8 op=f8.dbus; - CALL_DEBUGGER((f8.pc0 - 1) & 0xffff); + debugger_instruction_hook(Machine, (f8.pc0 - 1) & 0xffff); switch( op ) { @@ -1890,9 +1890,7 @@ static void f8_set_context (void *src) f8 = *(f8_Regs *) src; } -#ifdef ENABLE_DEBUGGER unsigned f8_dasm(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram); -#endif /* ENABLE_DEBUGGER */ static void f8_init (int index, int clock, const void *config, int (*irqcallback)(int)) { @@ -2115,9 +2113,7 @@ void f8_get_info(UINT32 state, cpuinfo *info) case CPUINFO_PTR_EXECUTE: info->execute = f8_execute; break; case CPUINFO_PTR_BURN: info->burn = NULL; break; -#ifdef ENABLE_DEBUGGER - case CPUINFO_PTR_DISASSEMBLE: info->disassemble = f8_dasm; break; -#endif /* ENABLE_DEBUGGER */ + case CPUINFO_PTR_DISASSEMBLE: info->disassemble = f8_dasm; break; case CPUINFO_PTR_INSTRUCTION_COUNTER: info->icount = &f8_icount; break; /* --- the following bits of info are returned as NULL-terminated strings --- */ |