Created a hook for populating MESS-specific main menu items

This commit is contained in:
Nathan Woods 2008-09-08 03:34:15 +00:00
parent f5d90dac56
commit 30dcca1594

View File

@ -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 */