summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-02-06 09:27:51 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-02-06 09:27:51 +0100
commitdbfcc63e2cdaf3a9e73710c7dad08cba08eaa4c7 (patch)
treea091c8443870a1124684eb33f27b907c2e6bddf0
parent570db5bf5c93c895dca2c9fb7cd02d22366a6938 (diff)
fix my mistake in software selection (nw)
-rw-r--r--src/emu/ui/selsoft.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/ui/selsoft.cpp b/src/emu/ui/selsoft.cpp
index 88cbd8cb2d0..fc3d21b550d 100644
--- a/src/emu/ui/selsoft.cpp
+++ b/src/emu/ui/selsoft.cpp
@@ -873,9 +873,9 @@ void ui_menu_select_software::inkey_select(const ui_menu_event *m_event)
}
std::string error_string;
std::string string_list = std::string(ui_swinfo->listname).append(":").append(ui_swinfo->shortname).append(":").append(ui_swinfo->part).append(":").append(ui_swinfo->instance);
- mopt.set_value(OPTION_SOFTWARENAME, string_list.c_str(), OPTION_PRIORITY_CMDLINE, error_string);
+ machine().options().set_value(OPTION_SOFTWARENAME, string_list.c_str(), OPTION_PRIORITY_CMDLINE, error_string);
std::string snap_list = std::string(ui_swinfo->listname).append(PATH_SEPARATOR).append(ui_swinfo->shortname);
- mopt.set_value(OPTION_SNAPNAME, snap_list.c_str(), OPTION_PRIORITY_CMDLINE, error_string);
+ machine().options().set_value(OPTION_SNAPNAME, snap_list.c_str(), OPTION_PRIORITY_CMDLINE, error_string);
reselect_last::driver = drivlist.driver().name;
reselect_last::software = ui_swinfo->shortname;
reselect_last::swlist = ui_swinfo->listname;