mirror of
https://github.com/holub/mame
synced 2025-04-25 01:40:16 +03:00
Merge pull request #2372 from npwoods/fix_crash_when_launched_from_favorites
Fixes a crash when returning to the front end when a system was launched from favorites
This commit is contained in:
commit
20ac866d56
@ -184,7 +184,9 @@ void menu_select_game::handle()
|
||||
// if i have to reselect a software, force software list submenu
|
||||
if (reselect_last::get())
|
||||
{
|
||||
const game_driver *const driver = reinterpret_cast<const game_driver *>(get_selection_ref());
|
||||
const game_driver *driver;
|
||||
const ui_software_info *software;
|
||||
get_selection(software, driver);
|
||||
menu::stack_push<menu_select_software>(ui(), container(), driver);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user