X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.libretro;h=1ecd3595c929ce9d0a978fe1f7fa8cde5af262f4;hb=f533290e855dcdb9d266f147716b10e9a6268058;hp=bdc7b6e7bda9f3727d8df165f5fb49ffd96a47d2;hpb=0e1ccb3fef5d07b2b9d3e8ad12fe69f704b9669b;p=pcsx_rearmed.git diff --git a/Makefile.libretro b/Makefile.libretro index bdc7b6e7..1ecd3595 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -3,6 +3,7 @@ DEBUG ?= 0 WANT_ZLIB ?= 1 HAVE_CHD ?= 1 +USE_LIBRETRO_VFS ?= 0 # Dynarec options: lightrec, ari64 DYNAREC ?= lightrec @@ -94,9 +95,6 @@ else ifeq ($(platform), osx) TARGET := $(TARGET_NAME)_libretro.dylib fpic := -fPIC HAVE_NEON = 0 -ifeq ($(DYNAREC),0) - TARGET := $(TARGET_NAME)_interpreter_libretro.dylib -endif MACSOSVER = `sw_vers -productVersion | cut -d. -f 1` OSXVER = `sw_vers -productVersion | cut -d. -f 2` OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"` @@ -123,9 +121,6 @@ else ifneq (,$(findstring ios,$(platform))) ifeq ($(DYNAREC),lightrec) # Override DYNAREC := 0 -endif -ifeq ($(DYNAREC),0) - TARGET := $(TARGET_NAME)_interpreter_libretro_ios.dylib endif fpic := -fPIC @@ -164,9 +159,6 @@ else ifeq ($(platform), tvos-arm64) ifeq ($(DYNAREC),lightrec) # Override DYNAREC := 0 -endif -ifeq ($(DYNAREC),0) - TARGET := $(TARGET_NAME)_interpreter_libretro_tvos.dylib endif fpic := -fPIC @@ -261,6 +253,7 @@ else ifeq ($(platform), ctr) CFLAGS += -fomit-frame-pointer -ffast-math -funroll-loops CFLAGS += -Ifrontend/3ds -I$(CTRULIB)/include CFLAGS += -Werror=implicit-function-declaration + CFLAGS += -DHAVE_UNISTD_H OBJS += frontend/3ds/utils.o @@ -459,6 +452,7 @@ else LIBPTHREAD := LIBDL := LIBM := + USE_LIBRETRO_VFS = 1 endif CFLAGS += $(fpic)