mirror of
https://github.com/libretro/RetroArch
synced 2025-02-05 15:40:04 +00:00
Use rarch_get_perf_counter implementation for OSX as well
This commit is contained in:
parent
b9b79aeff0
commit
fb48f513d7
@ -140,7 +140,7 @@ void retro_perf_log(void)
|
||||
retro_perf_tick_t rarch_get_perf_counter(void)
|
||||
{
|
||||
retro_perf_tick_t time = 0;
|
||||
#if defined(__MACH__) && defined(__APPLE__) && defined(IOS)
|
||||
#if defined(__MACH__) && defined(__APPLE__)
|
||||
struct mach_timebase_info convfact;
|
||||
mach_timebase_info(&convfact);
|
||||
time = mach_absolute_time();
|
||||
|
Loading…
x
Reference in New Issue
Block a user