mirror of
https://github.com/holub/mame
synced 2025-07-05 01:48:29 +03:00
Merge pull request #1427 from dankan1890/partia_fix_for_MT06383
Partial fix for MT06383
This commit is contained in:
commit
4c791d4320
@ -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();
|
||||||
@ -1354,9 +1354,24 @@ void menu_select_game::inkey_export()
|
|||||||
list.push_back(m_searchlist[curitem]);
|
list.push_back(m_searchlist[curitem]);
|
||||||
}
|
}
|
||||||
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