mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fix PerformanceCounter
This commit is contained in:
parent
943053a922
commit
3ac2242e65
@ -68,13 +68,13 @@ Uint32 SDL_GetTicks(void)
|
||||
Uint64
|
||||
SDL_GetPerformanceCounter(void)
|
||||
{
|
||||
return SDL_GetTicks();
|
||||
return sceKernelGetProcessTimeWide();
|
||||
}
|
||||
|
||||
Uint64
|
||||
SDL_GetPerformanceFrequency(void)
|
||||
{
|
||||
return 1000;
|
||||
return 1000000;
|
||||
}
|
||||
|
||||
void SDL_Delay(Uint32 ms)
|
||||
|
Loading…
Reference in New Issue
Block a user