VFS defines

This commit is contained in:
Alberto Fustinoni
2018-06-21 15:59:59 +09:00
parent 686bb86e3d
commit 9060d8f833
2 changed files with 9 additions and 1 deletions

View File

@@ -470,7 +470,7 @@ else ifneq (,$(findstring windows_msvc2017,$(platform)))
SHARED :=
LIBM :=
NO_MMAP = 1
USE_LIBRETRO_VFS = 1
NO_ALIGN_FUNCTIONS = 1
CFLAGS += -DHAVE_VSNPRINTF
@@ -561,6 +561,11 @@ endif
CFLAGS += -DNO_ZLIB -D__LIBRETRO__
ifeq ($(USE_LIBRETRO_VFS),1)
NO_MMAP = 1
CFLAGS += -DUSE_LIBRETRO_VFS
endif
ifeq ($(NO_MMAP),1)
CFLAGS += -DNO_MMAP
endif

3
build.sh Normal file
View File

@@ -0,0 +1,3 @@
make -f Makefile.libretro clean
make -f Makefile.libretro platform=windows_msvc2017_desktop_x64 DEBUG=1
cp -f *.dll /C/Users/Alberto/Downloads/RetroArch_x64/cores