Actually make sure OSD options are included when saving through UI

This commit is contained in:
AJR 2017-10-06 19:46:11 -04:00
parent 83a7019e8a
commit 04722f2fcf

View File

@ -2165,7 +2165,10 @@ void mame_ui_manager::save_main_option()
{
// parse the file
std::string error;
emu_options options(emu_options::option_support::GENERAL_ONLY); // This way we make sure that all OSD parts are in
emu_options options(emu_options::option_support::GENERAL_ONLY);
// This way we make sure that all OSD parts are in
osd_setup_osd_specific_emu_options(options);
options.copy_from(machine().options());