Fix PerformanceCounter

This commit is contained in:
Ivan Epifanov authored and Sam Lantinga committed 2021-03-08 09:07:12 -08:00
1 parent 943053a922
commit 3ac2242e65
1 file changed
+2 -2
+2 -2
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)