1
0
Fork 0
forked from len0rd/rockbox

Return interval in the SDL timer callback as it should happen in periodic timers.

If the SDL timer resolution was higher than 10ms it would have restarted the timer after 1ms, but it made no difference.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28912 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2010-12-27 12:49:28 +00:00
parent 0ba13e45f0
commit 6cbacb1b3e

View file

@ -137,7 +137,7 @@ Uint32 tick_timer(Uint32 interval, void *param)
sim_exit_irq_handler();
}
return 1;
return interval;
}
void tick_start(unsigned int interval_in_ms)