core, groundwork for chd support

still needs some scrutiny, and build integration is missing
This commit is contained in:
kub 2021-03-04 20:48:02 +01:00
parent 4da84f9454
commit 15ca715228
18 changed files with 411 additions and 100 deletions

View file

@ -236,6 +236,11 @@ OBJS += platform/common/mp3_minimp3.o
endif
endif
ifneq (,$(HAVE_LIBCHDR))
CFLAGS += -DUSE_LIBCHDR -Iplatform/common/libchdr/include
LDFLAGS += -Lplatform/common/libchdr -lchdr
endif
ifeq "$(PLATFORM_ZLIB)" "1"
# zlib
OBJS += zlib/gzio.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/trees.o \