diff options
Diffstat (limited to 'src/frontend/mame/ui/mainmenu.cpp')
-rw-r--r-- | src/frontend/mame/ui/mainmenu.cpp | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/src/frontend/mame/ui/mainmenu.cpp b/src/frontend/mame/ui/mainmenu.cpp index 5c129f76397..23a68c979c5 100644 --- a/src/frontend/mame/ui/mainmenu.cpp +++ b/src/frontend/mame/ui/mainmenu.cpp @@ -61,89 +61,89 @@ menu_main::menu_main(mame_ui_manager &mui, render_container &container) : menu(m void menu_main::populate(float &customtop, float &custombottom) { /* add main menu items */ - item_append(_("Input (general)"), "", 0, (void *)INPUT_GROUPS); + item_append(_("Input (general)"), 0, (void *)INPUT_GROUPS); - item_append(_("Input (this Machine)"), "", 0, (void *)INPUT_SPECIFIC); + item_append(_("Input (this Machine)"), 0, (void *)INPUT_SPECIFIC); if (ui().machine_info().has_analog()) - item_append(_("Analog Controls"), "", 0, (void *)ANALOG); + item_append(_("Analog Controls"), 0, (void *)ANALOG); if (ui().machine_info().has_dips()) - item_append(_("DIP Switches"), "", 0, (void *)SETTINGS_DIP_SWITCHES); + item_append(_("DIP Switches"), 0, (void *)SETTINGS_DIP_SWITCHES); if (ui().machine_info().has_configs()) - item_append(_("Machine Configuration"), "", 0, (void *)SETTINGS_DRIVER_CONFIG); + item_append(_("Machine Configuration"), 0, (void *)SETTINGS_DRIVER_CONFIG); - item_append(_("Bookkeeping Info"), "", 0, (void *)BOOKKEEPING); + item_append(_("Bookkeeping Info"), 0, (void *)BOOKKEEPING); - item_append(_("Machine Information"), "", 0, (void *)GAME_INFO); + item_append(_("Machine Information"), 0, (void *)GAME_INFO); if (ui().found_machine_warnings()) - item_append(_("Warning Information"), "", 0, (void *)WARN_INFO); + item_append(_("Warning Information"), 0, (void *)WARN_INFO); for (device_image_interface &image : image_interface_enumerator(machine().root_device())) { if (image.user_loadable()) { - item_append(_("Image Information"), "", 0, (void *)IMAGE_MENU_IMAGE_INFO); + item_append(_("Image Information"), 0, (void *)IMAGE_MENU_IMAGE_INFO); - item_append(_("File Manager"), "", 0, (void *)IMAGE_MENU_FILE_MANAGER); + item_append(_("File Manager"), 0, (void *)IMAGE_MENU_FILE_MANAGER); break; } } if (cassette_device_enumerator(machine().root_device()).first() != nullptr) - item_append(_("Tape Control"), "", 0, (void *)TAPE_CONTROL); + item_append(_("Tape Control"), 0, (void *)TAPE_CONTROL); if (pty_interface_enumerator(machine().root_device()).first() != nullptr) - item_append(_("Pseudo terminals"), "", 0, (void *)PTY_INFO); + item_append(_("Pseudo terminals"), 0, (void *)PTY_INFO); if (ui().machine_info().has_bioses()) - item_append(_("BIOS Selection"), "", 0, (void *)BIOS_SELECTION); + item_append(_("BIOS Selection"), 0, (void *)BIOS_SELECTION); if (slot_interface_enumerator(machine().root_device()).first() != nullptr) - item_append(_("Slot Devices"), "", 0, (void *)SLOT_DEVICES); + item_append(_("Slot Devices"), 0, (void *)SLOT_DEVICES); if (barcode_reader_device_enumerator(machine().root_device()).first() != nullptr) - item_append(_("Barcode Reader"), "", 0, (void *)BARCODE_READ); + item_append(_("Barcode Reader"), 0, (void *)BARCODE_READ); if (network_interface_enumerator(machine().root_device()).first() != nullptr) - item_append(_("Network Devices"), "", 0, (void*)NETWORK_DEVICES); + item_append(_("Network Devices"), 0, (void*)NETWORK_DEVICES); if (machine().ioport().natkeyboard().keyboard_count()) - item_append(_("Keyboard Mode"), "", 0, (void *)KEYBOARD_MODE); + item_append(_("Keyboard Mode"), 0, (void *)KEYBOARD_MODE); - item_append(_("Slider Controls"), "", 0, (void *)SLIDERS); + item_append(_("Slider Controls"), 0, (void *)SLIDERS); - item_append(_("Video Options"), "", 0, (machine().render().target_by_index(1) != nullptr) ? (void *)VIDEO_TARGETS : (void *)VIDEO_OPTIONS); + item_append(_("Video Options"), 0, (machine().render().target_by_index(1) != nullptr) ? (void *)VIDEO_TARGETS : (void *)VIDEO_OPTIONS); if (machine().crosshair().get_usage()) - item_append(_("Crosshair Options"), "", 0, (void *)CROSSHAIR); + item_append(_("Crosshair Options"), 0, (void *)CROSSHAIR); if (machine().options().cheat()) - item_append(_("Cheat"), "", 0, (void *)CHEAT); + item_append(_("Cheat"), 0, (void *)CHEAT); if (machine().options().plugins()) - item_append(_("Plugin Options"), "", 0, (void *)PLUGINS); + 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(_("External DAT View"), 0, (void *)EXTERNAL_DATS); item_append(menu_item_type::SEPARATOR); if (!mame_machine_manager::instance()->favorite().is_favorite(machine())) - item_append(_("Add To Favorites"), "", 0, (void *)ADD_FAVORITE); + item_append(_("Add To Favorites"), 0, (void *)ADD_FAVORITE); else - item_append(_("Remove From Favorites"), "", 0, (void *)REMOVE_FAVORITE); + item_append(_("Remove From Favorites"), 0, (void *)REMOVE_FAVORITE); item_append(menu_item_type::SEPARATOR); - item_append(string_format(_("About %s"), emulator_info::get_appname()), "", 0, (void *)ABOUT); + item_append(string_format(_("About %s"), emulator_info::get_appname()), 0, (void *)ABOUT); item_append(menu_item_type::SEPARATOR); -// item_append(_("Quit from Machine"), nullptr, 0, (void *)QUIT_GAME); +// item_append(_("Quit from Machine"), 0, (void *)QUIT_GAME); - item_append(_("Select New Machine"), "", 0, (void *)SELECT_GAME); + item_append(_("Select New Machine"), 0, (void *)SELECT_GAME); } menu_main::~menu_main() |