X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fm68000%2Fm68kinterface.h;fp=src%2Fm68000%2Fm68kinterface.h;h=613bb11c68baed8ad0ddec5d46ed58b2da415656;hb=f7b2692b338aaf37470be0a1d0e5ae42c82e0c65;hp=f96bf680dc9c5565575d770be7d5165b9ee9d4b5;hpb=04a4d0db6f20955f132491173c4ec8e11d1e5de1;p=virtualjaguar diff --git a/src/m68000/m68kinterface.h b/src/m68000/m68kinterface.h index f96bf68..613bb11 100644 --- a/src/m68000/m68kinterface.h +++ b/src/m68000/m68kinterface.h @@ -90,6 +90,13 @@ int irq_ack_handler(int); // Convenience functions +// Uncomment this to have the emulated CPU call a hook function after every instruction +// NB: This must be implemented by the user! +#define M68K_HOOK_FUNCTION +#ifdef M68K_HOOK_FUNCTION +void M68KInstructionHook(void); +#endif + /* Peek at the internals of a CPU context. This can either be a context * retrieved using m68k_get_context() or the currently running context. * If context is NULL, the currently running CPU context will be used.