mirror of
https://github.com/libretro/Genesis-Plus-GX.git
synced 2024-11-23 16:29:40 +00:00
cdrom support is optional
This commit is contained in:
parent
31a59a5d7f
commit
dba888aa00
@ -627,6 +627,12 @@ else
|
||||
BPP_DEFINES = -DUSE_15BPP_RENDERING
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_CDROM), 1)
|
||||
LIBRETRO_CFLAGS += -DHAVE_CDROM
|
||||
ifeq ($(CDROM_DEBUG), 1)
|
||||
LIBRETRO_CFLAGS += -DCDROM_DEBUG
|
||||
endif
|
||||
endif
|
||||
|
||||
LIBRETRO_CFLAGS += $(INCFLAGS) $(INCFLAGS_PLATFORM)
|
||||
LIBRETRO_CFLAGS += $(BPP_DEFINES) \
|
||||
@ -635,9 +641,7 @@ LIBRETRO_CFLAGS += $(BPP_DEFINES) \
|
||||
-D__LIBRETRO__ \
|
||||
-DM68K_OVERCLOCK_SHIFT=20 \
|
||||
-DZ80_OVERCLOCK_SHIFT=20 \
|
||||
-DHAVE_YM3438_CORE \
|
||||
-DHAVE_CDROM \
|
||||
-DCDROM_DEBUG
|
||||
-DHAVE_YM3438_CORE
|
||||
|
||||
ifneq (,$(findstring msvc,$(platform)))
|
||||
LIBRETRO_CFLAGS += -DINLINE="static _inline"
|
||||
|
Loading…
Reference in New Issue
Block a user