Merge pull request #271 from vadosnaprimer/cpuhook

Enable CPU hooking in libretro makefiles
This commit is contained in:
ekeeke 2019-04-26 15:23:08 +02:00 committed by GitHub
commit 1cda68dd30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,7 @@ LOGSOUND = 0
FRONTEND_SUPPORTS_RGB565 = 1
HAVE_CHD = 1
HAVE_SYS_PARAM = 1
HOOK_CPU = 0
CORE_DIR := .

View File

@ -16,6 +16,11 @@ ifneq (,$(findstring msvc2003,$(platform)))
INCFLAGS += -I$(LIBRETRO_COMM_DIR)/include/compat/msvc
endif
ifeq ($(HOOK_CPU), 1)
GENPLUS_SRC_DIR += $(CORE_DIR)/core/debug
FLAGS += -DHOOK_CPU
endif
ifeq ($(HAVE_CHD), 1)
INCFLAGS += -I$(CHDLIBDIR)/src \
-I$(CHDLIBDIR)/deps/libFLAC/include \