diff options
author | 2016-03-05 13:13:49 +0100 | |
---|---|---|
committer | 2016-03-05 13:13:49 +0100 | |
commit | b7bbfe18975ec73fda36dcb4993b6458e73bf32f (patch) | |
tree | 27c978c3f65bbd3ea232807341a337ae486b84a9 | |
parent | 5b549a4fe01408bc959e858a343883156264b4ad (diff) |
selsoft: fixed failure to load software from the BIOS menu selection. (nw)
-rw-r--r-- | src/emu/ui/selsoft.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/ui/selsoft.cpp b/src/emu/ui/selsoft.cpp index 2c8fa5135ea..93be1b636ba 100644 --- a/src/emu/ui/selsoft.cpp +++ b/src/emu/ui/selsoft.cpp @@ -2040,7 +2040,7 @@ void ui_bios_selection::handle() { // process the menu const ui_menu_event *event = process(0); - ui_options &moptions = machine().ui().options(); + emu_options &moptions = machine().options(); if (event != nullptr && event->iptkey == IPT_UI_SELECT && event->itemref != nullptr) for (auto & elem : m_bios) if ((void*)&elem.name == event->itemref) @@ -2073,7 +2073,7 @@ void ui_bios_selection::handle() drivlist.next(); software_list_device *swlist = software_list_device::find_by_name(drivlist.config(), ui_swinfo->listname.c_str()); software_info *swinfo = swlist->find(ui_swinfo->shortname.c_str()); - if (!moptions.skip_parts_menu() && swinfo->has_multiple_parts(ui_swinfo->interface.c_str())) + if (!machine().ui().options().skip_parts_menu() && swinfo->has_multiple_parts(ui_swinfo->interface.c_str())) { std::unordered_map<std::string, std::string> parts; for (const software_part *swpart = swinfo->first_part(); swpart != nullptr; swpart = swpart->next()) |