diff options
Diffstat (limited to 'src/frontend/mame/ui/selgame.cpp')
-rw-r--r-- | src/frontend/mame/ui/selgame.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/frontend/mame/ui/selgame.cpp b/src/frontend/mame/ui/selgame.cpp index 6d298f4d150..08c8bd545d0 100644 --- a/src/frontend/mame/ui/selgame.cpp +++ b/src/frontend/mame/ui/selgame.cpp @@ -375,13 +375,13 @@ void menu_select_game::handle() if (!mfav.isgame_favorite(driver)) { mfav.add_favorite_game(driver); - machine().popmessage(_("%s\n added to favorites list."), driver->description); + machine().popmessage(_("%s\n added to favorites list."), driver->type.fullname()); } else { mfav.remove_favorite_game(); - machine().popmessage(_("%s\n removed from favorites list."), driver->description); + machine().popmessage(_("%s\n removed from favorites list."), driver->type.fullname()); } } } @@ -546,7 +546,7 @@ void menu_select_game::populate(float &customtop, float &custombottom) cloneof = false; } - item_append(elem->description, "", (cloneof) ? (flags_ui | FLAG_INVERT) : flags_ui, (void *)elem); + item_append(elem->type.fullname(), "", (cloneof) ? (flags_ui | FLAG_INVERT) : flags_ui, (void *)elem); curitem++; } } @@ -1185,7 +1185,7 @@ void menu_select_game::populate_search() for (; index < m_displaylist.size(); ++index) { // pick the best match between driver name and description - int curpenalty = fuzzy_substring(m_search, m_displaylist[index]->description); + int curpenalty = fuzzy_substring(m_search, m_displaylist[index]->type.fullname()); int tmp = fuzzy_substring(m_search, m_displaylist[index]->name); curpenalty = std::min(curpenalty, tmp); @@ -1219,7 +1219,7 @@ void menu_select_game::populate_search() if (cx != -1 && ((driver_list::driver(cx).flags & MACHINE_IS_BIOS_ROOT) != 0)) cloneof = false; } - item_append(m_searchlist[curitem]->description, "", (!cloneof) ? flags_ui : (FLAG_INVERT | flags_ui), + item_append(m_searchlist[curitem]->type.fullname(), "", (!cloneof) ? flags_ui : (FLAG_INVERT | flags_ui), (void *)m_searchlist[curitem]); } } @@ -1238,7 +1238,7 @@ void menu_select_game::general_info(const game_driver *driver, std::string &buff int cloneof = driver_list::non_bios_clone(*driver); if (cloneof != -1) - util::stream_format(str, _("Driver is Clone of: %1$-.100s\n"), driver_list::driver(cloneof).description); + util::stream_format(str, _("Driver is Clone of: %1$-.100s\n"), driver_list::driver(cloneof).type.fullname()); else str << _("Driver is Parent:\n"); @@ -1732,7 +1732,7 @@ std::string menu_select_game::make_driver_description(game_driver const &driver) std::string menu_select_game::make_software_description(ui_software_info const &software) const { // first line is system - return string_format(_("System: %1$-.100s"), software.driver->description); + return string_format(_("System: %1$-.100s"), software.driver->type.fullname()); } } // namespace ui |