summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frontend/mame/ui/mainmenu.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/frontend/mame/ui/mainmenu.cpp b/src/frontend/mame/ui/mainmenu.cpp
index 73084728edb..a50c346a1fe 100644
--- a/src/frontend/mame/ui/mainmenu.cpp
+++ b/src/frontend/mame/ui/mainmenu.cpp
@@ -156,12 +156,14 @@ void menu_main::populate(float &customtop, float &custombottom)
if (machine().options().cheat())
item_append(_("Cheat"), 0, (void *)CHEAT);
- if (machine().options().plugins() && !mame_machine_manager::instance()->lua()->get_menu().empty())
- item_append(_("Plugin Options"), 0, (void *)PLUGINS);
-
if (machine().phase() >= machine_phase::RESET)
+ {
+ if (machine().options().plugins() && !mame_machine_manager::instance()->lua()->get_menu().empty())
+ item_append(_("Plugin Options"), 0, (void *)PLUGINS);
+
if (mame_machine_manager::instance()->lua()->call_plugin_check<const char *>("data_list", "", true))
item_append(_("External DAT View"), 0, (void *)EXTERNAL_DATS);
+ }
item_append(menu_item_type::SEPARATOR);