Update bins for new toolchain

This commit is contained in:
Francisco Javier Trujillo Mata 2021-01-14 23:21:22 +01:00
parent 0d826c9307
commit b3774b547d
2 changed files with 4 additions and 10 deletions

View File

@ -260,10 +260,10 @@ else ifneq (,$(filter $(platform), psl1ght))
# PS2
else ifeq ($(platform), ps2)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = ee-gcc$(EXE_EXT)
AR = ee-ar$(EXE_EXT)
CC = mips64r5900el-ps2-elf-gcc$(EXE_EXT)
AR = mips64r5900el-ps2-elf-ar$(EXE_EXT)
PLATFORM_DEFINES := -DPS2 -DCC_RESAMPLER
CFLAGS += -G0 -DHAVE_NO_LANGEXTRA
CFLAGS += -G0 -DHAVE_NO_LANGEXTRA -DHAVE_STRTOF_L
STATIC_LINKING = 1
DEFINES += -std=c99
HAVE_VFS_FD = 0

View File

@ -307,13 +307,7 @@ bool mCoreSaveStateNamed(struct mCore* core, struct VFile* vf, int flags) {
if (flags & SAVESTATE_METADATA) {
uint64_t* creationUsec = malloc(sizeof(*creationUsec));
if (creationUsec) {
#if defined(PS2)
clock_t currentClock = ps2_clock();
if (currentClock) {
uint64_t usec = currentClock;
STORE_64LE(usec, 0, creationUsec);
}
#elif !defined(_MSC_VER)
#if !defined(_MSC_VER)
struct timeval tv;
if (!gettimeofday(&tv, 0)) {
uint64_t usec = tv.tv_usec;