mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-25 02:31:49 +01:00
require HOOK_CPU definition in cpuhook.c
This commit is contained in:
parent
b24541938a
commit
e4d2e04f48
@ -2,6 +2,8 @@
|
||||
* Genesis Plus GX
|
||||
* CPU hooking support
|
||||
*
|
||||
* HOOK_CPU should be defined in a makefile or MSVC project to enable this functionality
|
||||
*
|
||||
* Copyright feos (2019)
|
||||
*
|
||||
* Redistribution and use of this code or any derivative works are permitted
|
||||
@ -36,6 +38,8 @@
|
||||
*
|
||||
****************************************************************************************/
|
||||
|
||||
#ifdef HOOK_CPU
|
||||
|
||||
#include <stdio.h>
|
||||
#include "cpuhook.h"
|
||||
|
||||
@ -45,3 +49,5 @@ void set_cpu_hook(void(*hook)(hook_type_t type, int width, unsigned int address,
|
||||
{
|
||||
cpu_hook = hook;
|
||||
}
|
||||
|
||||
#endif /* HOOK_CPU */
|
@ -2,6 +2,8 @@
|
||||
* Genesis Plus GX
|
||||
* CPU hooking support
|
||||
*
|
||||
* HOOK_CPU should be defined in a makefile or MSVC project to enable this functionality
|
||||
*
|
||||
* Copyright DrMefistO (2018-2019)
|
||||
*
|
||||
* Copyright feos (2019)
|
||||
|
Loading…
Reference in New Issue
Block a user