Fix PerformanceCounter

main
Ivan Epifanov 2020-12-09 12:37:39 +03:00 committed by Sam Lantinga
parent 943053a922
commit 3ac2242e65
1 changed files with 2 additions and 2 deletions

View File

@ -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)