optionally add core/debug to libretro makefiles

This commit is contained in:
feos 2019-04-25 21:43:03 +03:00
parent 11ad16f76c
commit fdce31ae8b
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 \