mirror of
https://github.com/libretro/mgba.git
synced 2024-11-23 07:59:46 +00:00
Update bins for new toolchain
This commit is contained in:
parent
0d826c9307
commit
b3774b547d
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user