diff --git a/src/timer/ngage/SDL_systimer.cpp b/src/timer/ngage/SDL_systimer.cpp index d2e1cce904..f3039bd0ec 100644 --- a/src/timer/ngage/SDL_systimer.cpp +++ b/src/timer/ngage/SDL_systimer.cpp @@ -29,12 +29,13 @@ extern "C" { Uint64 SDL_GetPerformanceCounter(void) { - return (Uint64)User::TickCount(); + return static_cast(User::TickCount()); } Uint64 SDL_GetPerformanceFrequency(void) { - return (Uint64)1000000u; + // On Symbian S60v1, tick frequency is 64 Hz => 1 tick = 15,625 microseconds. + return 64; } void SDL_SYS_DelayNS(Uint64 ns)