code police strikes again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8829 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
568ac3eb21
commit
c296ac5d65
2 changed files with 5 additions and 5 deletions
|
@ -958,7 +958,7 @@ int help(int when)
|
|||
return 1;
|
||||
break;
|
||||
}
|
||||
return NULL;
|
||||
return 0;
|
||||
break;
|
||||
case LEFT:
|
||||
case LEFT | BUTTON_REPEAT:
|
||||
|
@ -987,7 +987,7 @@ int help(int when)
|
|||
break;
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int pad_check(int ballxc, int mode, int pon ,int ballnum)
|
||||
|
@ -1014,7 +1014,7 @@ int fire_space(void)
|
|||
if (fire[t].top+7 < 0)
|
||||
return t;
|
||||
|
||||
return NULL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int game_loop(void){
|
||||
|
@ -1388,7 +1388,7 @@ int game_loop(void){
|
|||
|
||||
ball[k].y = -4;
|
||||
if (ball[k].pos_x != 0 && ball[k].pos_x+BALL!=LCD_WIDTH)
|
||||
ball[k].x = pad_check(2,1,NULL,k);
|
||||
ball[k].x = pad_check(2,1,0,k);
|
||||
|
||||
} else {
|
||||
ball[k].y = -4;
|
||||
|
|
|
@ -886,7 +886,7 @@ int solitaire(void){
|
|||
draw_type=change_draw(draw_type);
|
||||
configfile_save(FILENAME, config, 1, 0);
|
||||
when=draw_type==0?MENU_BEFOREGAME:MENU_BEFOREGAMEOP;
|
||||
return NULL;
|
||||
return 0;
|
||||
}
|
||||
#if LCD_DEPTH>1
|
||||
rb->lcd_set_foreground(LCD_BLACK);
|
||||
|
|
Loading…
Reference in a new issue