summaryrefslogtreecommitdiff
path: root/m68kconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'm68kconf.h')
-rw-r--r--m68kconf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/m68kconf.h b/m68kconf.h
index 0b67f76..515a58f 100644
--- a/m68kconf.h
+++ b/m68kconf.h
@@ -160,7 +160,7 @@ extern "C" {
* instruction.
*/
#define M68K_INSTRUCTION_HOOK OPT_SPECIFY_HANDLER
-#define M68K_INSTRUCTION_CALLBACK(pc) m68k_instr_callback(pc)
+#define M68K_INSTRUCTION_CALLBACK(pc) if (m68k_instr_callback(pc)) break
/* If ON, the CPU will emulate the 4-byte prefetch queue of a real 68000 */
@@ -209,7 +209,7 @@ void m68k_write_memory_32(unsigned int address, unsigned int value);
void m68k_reset_callback(void);
int m68k_irq_ack(int level);
-void m68k_instr_callback(int pc);
+int m68k_instr_callback(int pc);
#endif /* M68K_COMPILE_FOR_MAME */