summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m6502/m4510.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/m6502/m4510.c')
-rw-r--r--src/emu/cpu/m6502/m4510.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/emu/cpu/m6502/m4510.c b/src/emu/cpu/m6502/m4510.c
index 42d77a4f874..92285fe03b3 100644
--- a/src/emu/cpu/m6502/m4510.c
+++ b/src/emu/cpu/m6502/m4510.c
@@ -263,7 +263,7 @@ static int m4510_execute(int cycles)
UINT8 op;
PPC = PCD;
- CALL_DEBUGGER(PCD);
+ debugger_instruction_hook(Machine, PCD);
/* if an irq is pending, take it now */
if( m4510.pending_irq )
@@ -493,9 +493,7 @@ void m4510_get_info(UINT32 state, cpuinfo *info)
case CPUINFO_PTR_EXIT: info->exit = m4510_exit; break;
case CPUINFO_PTR_EXECUTE: info->execute = m4510_execute; break;
case CPUINFO_PTR_BURN: info->burn = NULL; break;
-#ifdef ENABLE_DEBUGGER
case CPUINFO_PTR_DISASSEMBLE: info->disassemble = m4510_dasm; break;
-#endif
case CPUINFO_PTR_INSTRUCTION_COUNTER: info->icount = &m4510_ICount; break;
case CPUINFO_PTR_INTERNAL_MEMORY_MAP: info->internal_map8 = address_map_m4510_mem; break;
case CPUINFO_PTR_TRANSLATE: info->translate = m4510_translate; break;