summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/mainmenu.cpp
diff options
context:
space:
mode:
author dankan1890 <mewuidev2@gmail.com>2016-04-15 17:39:45 +0200
committer dankan1890 <mewuidev2@gmail.com>2016-04-15 17:39:45 +0200
commita0715c7c400f1a7e41285a06eef23535fb0afa1d (patch)
tree3779610c4a50f90865452e8325cbaff5d219c881 /src/emu/ui/mainmenu.cpp
parentedb0904e763a6ff691700b3fb4685583665c497f (diff)
Reduction code for entries of "enum class ui_menu_item_type" and the use of item_append with separators.
Diffstat (limited to 'src/emu/ui/mainmenu.cpp')
-rw-r--r--src/emu/ui/mainmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/ui/mainmenu.cpp b/src/emu/ui/mainmenu.cpp
index b2935049b9a..079ffbf8be8 100644
--- a/src/emu/ui/mainmenu.cpp
+++ b/src/emu/ui/mainmenu.cpp
@@ -138,7 +138,7 @@ void ui_menu_main::populate()
if (machine().ui().options().enabled_dats() && machine().datfile().has_data())
item_append(_("External DAT View"), nullptr, 0, (void *)EXTERNAL_DATS);
- item_append(MENU_SEPARATOR_ITEM, nullptr, 0, nullptr);
+ item_append(ui_menu_item_type::SEPARATOR);
/* add favorite menu */
if (!machine().favorite().isgame_favorite())
@@ -146,7 +146,7 @@ void ui_menu_main::populate()
else
item_append(_("Remove From Favorites"), nullptr, 0, (void *)REMOVE_FAVORITE);
- item_append(MENU_SEPARATOR_ITEM, nullptr, 0, nullptr);
+ item_append(ui_menu_item_type::SEPARATOR);
// item_append(_("Quit from Machine"), nullptr, 0, (void *)QUIT_GAME);