From 30dcca1594221adf531067a51b1f08c0df1a1b22 Mon Sep 17 00:00:00 2001 From: Nathan Woods Date: Mon, 8 Sep 2008 03:34:15 +0000 Subject: [PATCH] Created a hook for populating MESS-specific main menu items --- src/emu/uimenu.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/emu/uimenu.c b/src/emu/uimenu.c index e88941ce0e3..762a5b12238 100644 --- a/src/emu/uimenu.c +++ b/src/emu/uimenu.c @@ -1469,17 +1469,8 @@ static void menu_main_populate(running_machine *machine, ui_menu *menu, void *st ui_menu_item_append(menu, CAPSTARTGAMENOUN " Information", NULL, 0, menu_game_info); #ifdef MESS - /* add image info menu */ - ui_menu_item_append(menu, "Image Information", NULL, 0, ui_menu_image_info); - - /* add image info menu */ - ui_menu_item_append(menu, "File Manager", NULL, 0, menu_file_manager); - -#if HAS_WAVE - /* add tape control menu */ - if (device_find_from_machine(machine, IO_CASSETTE)) - ui_menu_item_append(menu, "Tape Control", NULL, 0, menu_tape_control); -#endif /* HAS_WAVE */ + /* add MESS-specific menus */ + ui_mess_main_menu_populate(machine, menu); #endif /* MESS */ /* add sliders menu */