summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
authorKjell Ericson <kjell@haxx.se>2003-01-13 12:54:59 +0000
committerKjell Ericson <kjell@haxx.se>2003-01-13 12:54:59 +0000
commit9b986524c067fe447fb79f241c97db09924b18b0 (patch)
tree57e32bb0bddd76ec83fe6ad5c0fcd3e9329e1f96 /apps/main.c
parentd05e8b25e2ece52f2dcc1a5564f9708fb3311c3e (diff)
Moving the keyboard buffer empty routine to pure simulator code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3077 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c
index b69275be7f..fd9b3760bf 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -77,6 +77,8 @@ void init(void)
global_settings.loudness,
global_settings.bass_boost,
global_settings.avc );
+ while (button_get(false) != 0)
+ ; /* Empty the keyboard buffer */
}
#else