mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
menu: support seeking the filelist with letter keys
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@955 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
03435ed2c6
commit
134503079f
5 changed files with 68 additions and 37 deletions
|
@ -1258,13 +1258,13 @@ static void run_events_ui(unsigned int which)
|
|||
plat_status_msg_busy_first(tmp);
|
||||
|
||||
in_set_config_int(0, IN_CFG_BLOCKING, 1);
|
||||
while (in_menu_wait_any(50) & (PBTN_MA3|PBTN_MBACK))
|
||||
while (in_menu_wait_any(NULL, 50) & (PBTN_MA3|PBTN_MBACK))
|
||||
;
|
||||
while ( !((keys = in_menu_wait_any(50)) & (PBTN_MA3|PBTN_MBACK)) )
|
||||
while ( !((keys = in_menu_wait_any(NULL, 50)) & (PBTN_MA3|PBTN_MBACK)) )
|
||||
;
|
||||
if (keys & PBTN_MBACK)
|
||||
do_it = 0;
|
||||
while (in_menu_wait_any(50) & (PBTN_MA3|PBTN_MBACK))
|
||||
while (in_menu_wait_any(NULL, 50) & (PBTN_MA3|PBTN_MBACK))
|
||||
;
|
||||
in_set_config_int(0, IN_CFG_BLOCKING, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue