diff options
author | Oxore <oxore@protonmail.com> | 2022-09-07 23:51:19 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2022-09-07 23:51:19 +0300 |
commit | bb1cb9f755ef77126bdfe3258c0f859bb6d2bf1a (patch) | |
tree | 302c5d827650a794041ab75ec3938165c558610b /m68kconf.h | |
parent | d2b615061e008c4d13a6ce0f11efd8ec337f41c6 (diff) |
Hacky breakpoint before instruction executes
Diffstat (limited to 'm68kconf.h')
-rw-r--r-- | m68kconf.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |