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
|
|
@ -174,7 +174,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
min=0;
|
||||
|
||||
/*Empty the event queue*/
|
||||
while (rb->button_get(false)!=BUTTON_NONE);
|
||||
rb->button_clear_queue();
|
||||
|
||||
/* Game loop */
|
||||
while(end!=true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue