Display INI selection menu.

This commit is contained in:
Sorgelig
2023-07-07 23:01:06 +08:00
parent 2fb0d7b0c7
commit 70645f505c
3 changed files with 106 additions and 6 deletions

View File

@@ -1325,7 +1325,12 @@ void user_io_init(const char *path, const char *xml)
user_io_read_confstr();
user_io_read_core_name();
if (fpga_get_buttons() & BUTTON_OSD) altcfg(0);
if ((fpga_get_buttons() & BUTTON_OSD) && is_menu())
{
altcfg(0);
SelectINI();
}
cfg_parse();
cfg_print();
while (cfg.waitmount[0] && !is_menu())