mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-07 07:38:04 -04:00
fix list seeking, add autoload option
This commit is contained in:
parent
7ceadd9993
commit
9089665ca1
3 changed files with 31 additions and 9 deletions
5
input.c
5
input.c
|
@ -428,6 +428,7 @@ finish:
|
|||
int in_menu_wait_any(char *charcode, int timeout_ms)
|
||||
{
|
||||
int keys_old = menu_key_state;
|
||||
int ret;
|
||||
|
||||
while (1)
|
||||
{
|
||||
|
@ -443,7 +444,9 @@ int in_menu_wait_any(char *charcode, int timeout_ms)
|
|||
}
|
||||
}
|
||||
|
||||
return menu_key_state;
|
||||
ret = menu_key_state;
|
||||
menu_key_state &= ~PBTN_CHAR;
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* wait for menu input, do autorepeat */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue