diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-11-03 08:03:13 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-11-03 08:03:13 +0000 |
commit | 00997714ef51f9ac046428041769e32a023635fd (patch) | |
tree | c2497ff5e48a5ead667980a75960537b2f2b2607 /apps | |
parent | f76b2f2046d1eaefae8bf6f46c6388817d8bc284 (diff) |
brickmania: fix scrollwheel use
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23492 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/brickmania.c | 4 |
1 files 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; |