Switch to main INI if OSD button is pressed on boot.

This commit is contained in:
Sorgelig
2023-07-07 00:28:20 +08:00
parent a2715af766
commit 2fb0d7b0c7

View File

@@ -1325,6 +1325,7 @@ 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);
cfg_parse();
cfg_print();
while (cfg.waitmount[0] && !is_menu())