mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
Partial fix for MT06383
This commit is contained in:
parent
3c772ce3cb
commit
99c3b32aca
@ -397,7 +397,7 @@ void menu_select_game::handle()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (menu_event->iptkey == IPT_UI_EXPORT && !isfavorite())
|
else if (menu_event->iptkey == IPT_UI_EXPORT)
|
||||||
{
|
{
|
||||||
// handle UI_EXPORT
|
// handle UI_EXPORT
|
||||||
inkey_export();
|
inkey_export();
|
||||||
@ -1355,8 +1355,21 @@ void menu_select_game::inkey_export()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (isfavorite())
|
||||||
|
{
|
||||||
|
// iterate over favorites
|
||||||
|
for (auto & favmap : mame_machine_manager::instance()->favorite().m_list)
|
||||||
|
{
|
||||||
|
if (favmap.second.startempty == 1)
|
||||||
|
list.push_back(favmap.second.driver);
|
||||||
|
else
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
list = m_displaylist;
|
list = m_displaylist;
|
||||||
}
|
}
|
||||||
|
|
||||||
menu::stack_push<menu_export>(ui(), container(), std::move(list));
|
menu::stack_push<menu_export>(ui(), container(), std::move(list));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user