Fix time calculation in GetTime function (#6061)

This commit is contained in:
andzdroid 2026-08-13 23:46:53 +01:00 • committed by GitHub
commit dad422a430
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -962,7 +962,7 @@ void SwapScreenBuffer(void)
// Get elapsed time measure in seconds since InitTimer() // Get elapsed time measure in seconds since InitTimer()
double GetTime(void) double GetTime(void)
{ {
double time = emscripten_get_now()*1000.0; double time = emscripten_get_now()/1000.0;
return time; return time;
} }