Don't pass user button to core of OSD is visible.

This commit is contained in:
sorgelig
2020-03-21 10:12:00 +08:00
parent f7a26fba54
commit 19fd1035d5

View File

@@ -2050,7 +2050,7 @@ void user_io_send_buttons(char force)
}
//special reset for some cores
if ((key_map & BUTTON2) && !(map & BUTTON2))
if (!user_io_osd_is_visible() && (key_map & BUTTON2) && !(map & BUTTON2))
{
if (is_archie_core()) fpga_load_rbf(name[0] ? name : "Archie.rbf");
if (is_minimig()) minimig_reset();