summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-01-26 22:48:25 +0000
committerJens Arnold <amiconn@rockbox.org>2005-01-26 22:48:25 +0000
commit3c348df5cafaf5d893c610fd2caf8234abe5cf88 (patch)
tree631a926bffd197b48c9e4edb8b568319808e74b7 /apps/main.c
parent99d2a4b43642aef2ff859ed8195b62d3b2110a26 (diff)
downloadrockbox-3c348df5cafaf5d893c610fd2caf8234abe5cf88.tar.gz
rockbox-3c348df5cafaf5d893c610fd2caf8234abe5cf88.zip
Changed several places to use button_clear_queue() to empty the button queue. Added the ability to empty the (system's) button queue to the X11 simulatr.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5665 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/main.c b/apps/main.c
index ef8ca7bea7..8bcc25ae40 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -149,8 +149,7 @@ void init(void)
149 global_settings.mdb_enable, 149 global_settings.mdb_enable,
150 global_settings.superbass); 150 global_settings.superbass);
151 mpeg_init(); 151 mpeg_init();
152 while (button_get(false) != 0) 152 button_clear_queue(); /* Empty the keyboard buffer */
153 ; /* Empty the keyboard buffer */
154} 153}
155 154
156#else 155#else