]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/m68kconf.h
Fixes to mouse support
[virtualjaguar] / src / m68kconf.h
index 56402bf4e9fff57f8fae0f07a75f5aa03c15b3a1..f2852753ff284fa05b75f1c3533e8a563b3e2b7c 100644 (file)
@@ -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 */