From 00997714ef51f9ac046428041769e32a023635fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Tue, 3 Nov 2009 08:03:13 +0000 Subject: [PATCH] brickmania: fix scrollwheel use git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23492 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/brickmania.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c index 9bf4cf2b06..8549d7c1e2 100644 --- a/apps/plugins/brickmania.c +++ b/apps/plugins/brickmania.c @@ -1982,8 +1982,8 @@ static int brickmania_game_loop(void) button_right = move_button & (RIGHT | ALTRIGHT); button_left = move_button & (LEFT | ALTLEFT); #else - button_right =((move_button & RIGHT)|| SCROLL_FWD(move_button)); - button_left =((move_button & LEFT) ||SCROLL_BACK(move_button)); + button_right =((move_button & RIGHT)|| SCROLL_FWD(button)); + button_left =((move_button & LEFT) ||SCROLL_BACK(button)); #endif if ((game_state==ST_PAUSE) && (button_right || button_left)) continue;