X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fm68kconf.h;h=f2852753ff284fa05b75f1c3533e8a563b3e2b7c;hb=dd9eba7447fab481e71ff92da70e0af11e952794;hp=56402bf4e9fff57f8fae0f07a75f5aa03c15b3a1;hpb=86bd0f2592c3cd674239532247276bd2d579a857;p=virtualjaguar diff --git a/src/m68kconf.h b/src/m68kconf.h index 56402bf..f285275 100644 --- a/src/m68kconf.h +++ b/src/m68kconf.h @@ -130,8 +130,11 @@ int irq_ack_handler(int); /* If on, CPU will call the instruction hook callback before every * instruction. */ -#define M68K_INSTRUCTION_HOOK OPT_OFF -#define M68K_INSTRUCTION_CALLBACK() your_instruction_hook_function() +void M68KInstructionHook(void); +//#define M68K_INSTRUCTION_HOOK OPT_OFF +#define M68K_INSTRUCTION_HOOK OPT_SPECIFY_HANDLER +//#define M68K_INSTRUCTION_CALLBACK() your_instruction_hook_function() +#define M68K_INSTRUCTION_CALLBACK() M68KInstructionHook() /* If on, the CPU will emulate the 4-byte prefetch queue of a real 68000 */