mirror of
https://github.com/libretro/NP2kai.git
synced 2024-10-07 14:53:33 +00:00
commit
9c74ba152c
6
pccore.c
6
pccore.c
@ -731,13 +731,7 @@ void pccore_reset(void) {
|
||||
}
|
||||
#elif defined(NP2_X11) || defined(__LIBRETRO__)
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
asynccpu_lastclock = asynccpu_clockcount = (UINT64)clock();
|
||||
=======
|
||||
struct timespec t;
|
||||
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &t);
|
||||
asynccpu_lastclock = asynccpu_clockcount = (UINT64)t.tv_sec * 1000000000 + t.tv_nsec;
|
||||
>>>>>>> 6d2b0a232f47d9f3f0fff3496e1ec2a606564962
|
||||
asynccpu_clockpersec = CLOCKS_PER_SEC;
|
||||
}
|
||||
#elif defined(NP2_SDL2)
|
||||
|
@ -114,9 +114,9 @@ else ifneq (,$(findstring ios,$(platform)))
|
||||
ifeq ($(IOSSDK),)
|
||||
IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path)
|
||||
endif
|
||||
ifeq ($(platform),"ios-arm64")
|
||||
ifeq ($(platform), ios-arm64)
|
||||
CC = cc -arch arm64 -isysroot $(IOSSDK)
|
||||
CCX = c++ -arch arm64 -isysroot $(IOSSDK) -stdlib=libc++
|
||||
CXX = c++ -arch arm64 -isysroot $(IOSSDK) -stdlib=libc++
|
||||
LDFLAGS = -stdlib=libc++
|
||||
else
|
||||
CC = cc -arch armv7 -isysroot $(IOSSDK)
|
||||
|
Loading…
Reference in New Issue
Block a user