From 3abcaee63ff285514e8b51a60949c97a7dfa5304 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 24 Feb 2016 07:46:57 +0100 Subject: Cleanups and version bump --- src/emu/ui/mainmenu.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/emu/ui/mainmenu.cpp') diff --git a/src/emu/ui/mainmenu.cpp b/src/emu/ui/mainmenu.cpp index caf531c41ef..66381a3df1f 100644 --- a/src/emu/ui/mainmenu.cpp +++ b/src/emu/ui/mainmenu.cpp @@ -138,14 +138,14 @@ void ui_menu_main::populate() item_append(MENU_SEPARATOR_ITEM, nullptr, 0, nullptr); /* add favorite menu */ - if (!machine().favorite().isgame_favorite()) + if (!machine().favorite().isgame_favorite()) item_append(_("Add To Favorites"), nullptr, 0, (void *)ADD_FAVORITE); else item_append(_("Remove From Favorites"), nullptr, 0, (void *)REMOVE_FAVORITE); item_append(MENU_SEPARATOR_ITEM, nullptr, 0, nullptr); -// item_append(_("Quit from Machine"), nullptr, 0, (void *)QUIT_GAME); +// item_append(_("Quit from Machine"), nullptr, 0, (void *)QUIT_GAME); /* add reset and exit menus */ item_append(_("Select New Machine"), nullptr, 0, (void *)SELECT_GAME); @@ -246,7 +246,7 @@ void ui_menu_main::handle() ui_menu::stack_push(global_alloc_clear(machine(), container, nullptr)); } else { ui_menu::stack_push(global_alloc_clear(machine(), container, nullptr)); - } + } break; case BIOS_SELECTION: @@ -262,12 +262,12 @@ void ui_menu_main::handle() break; case ADD_FAVORITE: - machine().favorite().add_favorite_game(); + machine().favorite().add_favorite_game(); reset(UI_MENU_RESET_REMEMBER_POSITION); break; case REMOVE_FAVORITE: - machine().favorite().remove_favorite_game(); + machine().favorite().remove_favorite_game(); reset(UI_MENU_RESET_REMEMBER_POSITION); break; -- cgit v1.2.3-70-g09d2