summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/spc700/spc700.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/spc700/spc700.c')
-rw-r--r--src/emu/cpu/spc700/spc700.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/emu/cpu/spc700/spc700.c b/src/emu/cpu/spc700/spc700.c
index 6f2d1312e72..e1a6318524a 100644
--- a/src/emu/cpu/spc700/spc700.c
+++ b/src/emu/cpu/spc700/spc700.c
@@ -1403,9 +1403,7 @@ void spc700_state_load(void *file)
}
-#ifdef ENABLE_DEBUGGER
#include "spc700ds.h"
-#endif
//int dump_flag = 0;
@@ -1416,7 +1414,7 @@ int spc700_execute(int clocks)
while(CLOCKS > 0)
{
REG_PPC = REG_PC;
- CALL_DEBUGGER(REG_PC);
+ debugger_instruction_hook(Machine, REG_PC);
REG_PC++;
#if 0
@@ -1796,9 +1794,7 @@ void spc700_get_info(UINT32 state, cpuinfo *info)
case CPUINFO_PTR_EXIT: info->exit = spc700_exit; break;
case CPUINFO_PTR_EXECUTE: info->execute = spc700_execute; break;
case CPUINFO_PTR_BURN: info->burn = NULL; break;
-#ifdef ENABLE_DEBUGGER
case CPUINFO_PTR_DISASSEMBLE: info->disassemble = spc700_dasm; break;
-#endif /* ENABLE_DEBUGGER */
case CPUINFO_PTR_INSTRUCTION_COUNTER: info->icount = &spc700_ICount; break;
/* --- the following bits of info are returned as NULL-terminated strings --- */