dsplmenu: fixed display options. nw

This commit is contained in:
dankan1890 2016-02-15 20:29:40 +01:00
parent 622df200de
commit 3f04c5f932

View File

@ -79,7 +79,11 @@ ui_menu_display_options::ui_menu_display_options(running_machine &machine, rende
break;
p2 = descr.find_first_of(delim, p1 + 1);
if (p2 != std::string::npos)
{
std::string txt(descr.substr(p1, p2 - p1));
if (txt != "or" && txt != "none")
m_list.push_back(descr.substr(p1, p2 - p1));
}
else
{
m_list.push_back(descr.substr(p1));