diff options
Diffstat (limited to 'src/emu/cpu/ccpu/ccpu.c')
-rw-r--r-- | src/emu/cpu/ccpu/ccpu.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/emu/cpu/ccpu/ccpu.c b/src/emu/cpu/ccpu/ccpu.c index 0af94355ba1..f6826d6f1bf 100644 --- a/src/emu/cpu/ccpu/ccpu.c +++ b/src/emu/cpu/ccpu/ccpu.c @@ -212,7 +212,7 @@ static int ccpu_execute(int cycles) ccpu.nextmiflag = ccpu.nextnextmiflag; /* fetch the opcode */ - CALL_DEBUGGER(ccpu.PC); + debugger_instruction_hook(Machine, ccpu.PC); opcode = READOP(ccpu.PC++); switch (opcode) @@ -786,9 +786,7 @@ void ccpu_get_info(UINT32 state, cpuinfo *info) case CPUINFO_PTR_EXIT: info->exit = NULL; break; case CPUINFO_PTR_EXECUTE: info->execute = ccpu_execute; break; case CPUINFO_PTR_BURN: info->burn = NULL; break; -#ifdef ENABLE_DEBUGGER case CPUINFO_PTR_DISASSEMBLE: info->disassemble = ccpu_dasm; break; -#endif /* ENABLE_DEBUGGER */ case CPUINFO_PTR_INSTRUCTION_COUNTER: info->icount = &ccpu_icount; break; /* --- the following bits of info are returned as NULL-terminated strings --- */ |