mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
Ignore leftover release events when starting secondary file browser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5250 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
72d2535a49
commit
75ed8946f0
1 changed files with 4 additions and 0 deletions
|
|
@ -868,6 +868,10 @@ static bool dirbrowse(const char *root, const int *dirfilter)
|
|||
|
||||
button = button_get_w_tmo(HZ/5);
|
||||
|
||||
/* ignore leftover release event */
|
||||
if (!lastbutton && (button & BUTTON_REL))
|
||||
continue;
|
||||
|
||||
#ifndef SIMULATOR
|
||||
if (boot_changed) {
|
||||
bool stop = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue