From b3774b547d46a06cdb05ccfa314474f38bf89872 Mon Sep 17 00:00:00 2001 From: Francisco Javier Trujillo Mata Date: Thu, 14 Jan 2021 23:21:22 +0100 Subject: [PATCH] Update bins for new toolchain --- Makefile.libretro | 6 +++--- src/core/core-serialize.c | 8 +------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/Makefile.libretro b/Makefile.libretro index 46a1b5e9f..3c196409f 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -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 diff --git a/src/core/core-serialize.c b/src/core/core-serialize.c index be2f3393b..2b2cdefed 100644 --- a/src/core/core-serialize.c +++ b/src/core/core-serialize.c @@ -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;