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
|
|
@ -1520,7 +1520,7 @@ int scroll_bmp(struct t_disp* pdisp)
|
|||
int lastbutton = 0;
|
||||
|
||||
/*empty the button queue first, to avoid unwanted scrolling */
|
||||
while(rb->button_get(false) != BUTTON_NONE);
|
||||
rb->button_clear_queue();
|
||||
|
||||
while (true)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue