forked from len0rd/rockbox
Stop the paddle moving whie the game is paused.. AKA cheating
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10765 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d650cc868f
commit
3c533744d0
1 changed files with 3 additions and 2 deletions
|
|
@ -1763,7 +1763,8 @@ int game_loop(void)
|
|||
|
||||
button_right=((move_button & RIGHT) || (SCROLL_FWD(button)));
|
||||
button_left=((move_button & LEFT) || (SCROLL_BACK(button)));
|
||||
|
||||
if ((con_game== 1 && start_game!=1) && (button_right || button_left))
|
||||
continue;
|
||||
if ((button_right && flip_sides==false) ||
|
||||
(button_left && flip_sides==true)) {
|
||||
if (pad_pos_x+8+PAD_WIDTH > LCD_WIDTH) {
|
||||
|
|
@ -1795,7 +1796,7 @@ int game_loop(void)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
switch(button) {
|
||||
case UP:
|
||||
case SELECT:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue