forked from len0rd/rockbox
Ooops, I declared a variable in the middle of the code. Shame on me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4771 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8586786d98
commit
87d064d9d1
1 changed files with 2 additions and 1 deletions
|
@ -186,6 +186,7 @@ static int run_timer(int nr)
|
|||
|
||||
while (!done) {
|
||||
int button;
|
||||
long now;
|
||||
if (ticks>max_ticks) {
|
||||
if (round_time)
|
||||
rb->lcd_puts(0, 1, "ROUND UP!");
|
||||
|
@ -201,7 +202,7 @@ static int run_timer(int nr)
|
|||
}
|
||||
*/
|
||||
rb->lcd_puts(0, 0, player_info);
|
||||
long now=*rb->current_tick;
|
||||
now=*rb->current_tick;
|
||||
if (!pause) {
|
||||
ticks+=now-last_tick;
|
||||
if ((max_ticks-ticks)/HZ == 10) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue