Merge pull request #2073 from xerpi/master

(Vita) Update Makefile.griffin,file_path.c,performance.c
This commit is contained in:
Twinaphex 2015-08-30 18:50:19 +02:00
commit 2743096c96
3 changed files with 30 additions and 20 deletions

View File

@ -150,6 +150,9 @@ else ifeq ($(platform), vita)
-lSceSysmodule_stub -lSceCtrl_stub -lSceAudio_stub \
-lSceRtc_stub -lz -lm -lc
PLATOBJS += audio/audio_utils_neon.o audio/drivers_resampler/sinc_neon.o \
audio/drivers_resampler/cc_resampler_neon.o
HAVE_LIBRETRO_MANAGEMENT := 1
HAVE_RPNG := 1
HAVE_ZLIB := 1
@ -281,6 +284,9 @@ $(EXT_INTER_TARGET): $(OBJ)
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
%.o: %.S
$(CC) $(CFLAGS) -c -o $@ $<
%.bmpobj: %.bmp
$(LD) -r -b binary -o $@ $<

View File

@ -559,6 +559,8 @@ static bool path_mkdir_norecurse(const char *dir)
ret = _mkdir(dir);
#elif defined(IOS)
ret = mkdir(dir, 0755);
#elif defined(VITA)
ret = sceIoMkdir(dir, 0755);
#else
ret = mkdir(dir, 0750);
#endif

View File

@ -369,6 +369,8 @@ unsigned rarch_get_cpu_cores(void)
return 1;
#elif defined(PSP)
return 1;
#elif defined(VITA)
return 4;
#elif defined(_3DS)
return 1;
#elif defined(_SC_NPROCESSORS_ONLN)