mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-23 14:20:57 +00:00
Merge commit 'f25b4b27743d4b018393a3083e9d9061ab5ce07a' into main
This commit is contained in:
commit
c75e780f8f
|
@ -87,7 +87,7 @@ SDL_TicksInit(void)
|
||||||
has_monotonic_time = SDL_TRUE;
|
has_monotonic_time = SDL_TRUE;
|
||||||
} else
|
} else
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
if (0 == mach_timebase_info(&mach_base_info)) {
|
if (mach_timebase_info(&mach_base_info) == 0) {
|
||||||
has_monotonic_time = SDL_TRUE;
|
has_monotonic_time = SDL_TRUE;
|
||||||
start_mach = mach_absolute_time();
|
start_mach = mach_absolute_time();
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Reference in a new issue