(VITA) Removed gross hack with optimization workaround

This also seems to reduce a bit of stutter in some games (like sonic 3)
This commit is contained in:
lentillog
2016-09-20 11:18:27 -07:00
parent 32cc15e811
commit 30b234849f
2 changed files with 2 additions and 4 deletions

View File

@@ -263,7 +263,7 @@ else ifeq ($(platform), vita)
CC = arm-vita-eabi-gcc$(EXE_EXT)
AR = arm-vita-eabi-ar$(EXE_EXT)
CFLAGS += -DVITA
CFLAGS += -mfloat-abi=hard -ffast-math -mword-relocations
CFLAGS += -mfloat-abi=hard -ffast-math -mword-relocations -fno-optimize-sibling-calls
CFLAGS += -marm -mfpu=neon -mcpu=cortex-a9 -march=armv7-a
STATIC_LINKING = 1
NO_MMAP = 1

View File

@@ -332,9 +332,7 @@ int pm_seek(pm_file *stream, long offset, int whence)
if (stream->type == PMT_UNCOMPRESSED)
{
fseek(stream->file, offset, whence);
int ret = ftell(stream->file);
elprintf(EL_STATUS, "seeked ok."); //HACK for VITA
return ret;
return ftell(stream->file);
}
#ifndef NO_ZLIB
else if (stream->type == PMT_ZIP)