diff --git a/Makefile.common b/Makefile.common index 01d268f..d37e3ce 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1,6 +1,12 @@ INCFLAGS := -I$(CORE_DIR)/drivers/libretro -I$(CORE_DIR) -I$(CORE_DIR)/input -I$(CORE_DIR)/boards -I$(CORE_DIR)/mappers COREDEFINES = -D__LIBRETRO__ -DSOUND_QUALITY=0 -DPATH_MAX=1024 -DINLINE=inline -DFCEU_VERSION_NUMERIC=9813 -DFRONTEND_SUPPORTS_RGB565 +ifeq ($(PSS_STYLE),2) +COREDEFINES += -DPSS_STYLE=2 +else +COREDEFINES += -DPSS_STYLE=1 +endif + FCEU_SRC_DIRS := $(CORE_DIR)/boards $(CORE_DIR)/input $(CORE_DIR)/mappers SOURCES_C := $(foreach dir,$(FCEU_SRC_DIRS),$(wildcard $(dir)/*.c)) diff --git a/Makefile.libretro b/Makefile.libretro index 9fba713..fc746cc 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -309,12 +309,6 @@ OBJECTS := $(SOURCES_C:.c=.o) DEFINES := $(COREDEFINES) $(PLATFORM_DEFINES) -ifeq ($(PSS_STYLE),2) -DEFINES += -DPSS_STYLE=2 -else -DEFINES += -DPSS_STYLE=1 -endif - ifeq ($(STATIC_LINKING),1) DEFINES += -DSTATIC_LINKING endif