1
0
Fork 0
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:
Jonathan Gordon 2006-08-27 10:17:21 +00:00
parent d650cc868f
commit 3c533744d0

View file

@ -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: