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:
parent
0ba13e45f0
commit
6cbacb1b3e
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue