forked from len0rd/rockbox
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
This commit is contained in:
parent
99d2a4b436
commit
3c348df5ca
10 changed files with 11 additions and 11 deletions
|
|
@ -1127,7 +1127,7 @@ static bool dirbrowse(void)
|
|||
lastfilter = *tc.dirfilter;
|
||||
lastsortcase = global_settings.sort_case;
|
||||
restore = true;
|
||||
while (button_get(false)); /* clear button queue */
|
||||
button_clear_queue(); /* clear button queue */
|
||||
}
|
||||
|
||||
if (exit_func)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue