X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fm68kconf.h;h=5b750a7871376e54cb5bbe9428a8370eb5521bc5;hb=30e523b0a05db5c178769882259d980f31a1bd1f;hp=56402bf4e9fff57f8fae0f07a75f5aa03c15b3a1;hpb=86bd0f2592c3cd674239532247276bd2d579a857;p=virtualjaguar diff --git a/src/m68kconf.h b/src/m68kconf.h index 56402bf..5b750a7 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. */ +void M68KInstructionHook(void); #define M68K_INSTRUCTION_HOOK OPT_OFF -#define M68K_INSTRUCTION_CALLBACK() your_instruction_hook_function() +//#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 */