summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/mb86233/mb86233.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/mb86233/mb86233.c')
-rw-r--r--src/emu/cpu/mb86233/mb86233.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/emu/cpu/mb86233/mb86233.c b/src/emu/cpu/mb86233/mb86233.c
index 3c8704f7f5c..b6eecbf915a 100644
--- a/src/emu/cpu/mb86233/mb86233.c
+++ b/src/emu/cpu/mb86233/mb86233.c
@@ -906,7 +906,7 @@ static int mb86233_execute(int cycles)
UINT32 val;
UINT32 opcode;
- CALL_DEBUGGER(GETPC());
+ debugger_instruction_hook(Machine, GETPC());
opcode = ROPCODE(GETPC());
@@ -1522,7 +1522,6 @@ static int mb86233_execute(int cycles)
DISASSEMBLY HOOK
***************************************************************************/
-#ifdef ENABLE_DEBUGGER
static offs_t mb86233_dasm(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram)
{
extern UINT32 dasm_mb86233(char *, UINT32);
@@ -1531,7 +1530,7 @@ static offs_t mb86233_dasm(char *buffer, offs_t pc, const UINT8 *oprom, const UI
op = LITTLE_ENDIANIZE_INT32(op);
return dasm_mb86233(buffer, op);
}
-#endif /* ENABLE_DEBUGGER */
+
/***************************************************************************
Information Setters
@@ -1642,9 +1641,7 @@ void mb86233_get_info(UINT32 state, cpuinfo *info)
case CPUINFO_PTR_EXIT: info->exit = NULL; break;
case CPUINFO_PTR_EXECUTE: info->execute = mb86233_execute; break;
case CPUINFO_PTR_BURN: info->burn = NULL; break;
-#ifdef ENABLE_DEBUGGER
case CPUINFO_PTR_DISASSEMBLE: info->disassemble = mb86233_dasm; break;
-#endif /* ENABLE_DEBUGGER */
case CPUINFO_PTR_INSTRUCTION_COUNTER: info->icount = &mb86233_icount; break;
/* --- the following bits of info are returned as NULL-terminated strings --- */