mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
(PSP) PSP doesn't have SceRtcTick typedef
This commit is contained in:
parent
6efdfdebd4
commit
174852ef35
@ -154,7 +154,14 @@ retro_perf_tick_t cpu_features_get_perf_counter(void)
|
||||
#elif defined(GEKKO)
|
||||
time_ticks = gettime();
|
||||
#elif defined(PSP) || defined(VITA)
|
||||
sceRtcGetCurrentTick((SceRtcTick *)&time_ticks);
|
||||
{
|
||||
#if defined(PSP)
|
||||
u64 *ticks = (u64*)&time_ticks;
|
||||
#elif defined(VITA)
|
||||
SceRtcTick *ticks = (SceRtcTick*)&time_ticks;
|
||||
#endif
|
||||
sceRtcGetCurrentTick(ticks);
|
||||
}
|
||||
#elif defined(_3DS)
|
||||
time_ticks = svcGetSystemTick();
|
||||
#elif defined(__mips__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user