summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/mainmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/ui/mainmenu.c')
-rw-r--r--src/emu/ui/mainmenu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/ui/mainmenu.c b/src/emu/ui/mainmenu.c
index be8ca14f9a3..9e122ba7a2b 100644
--- a/src/emu/ui/mainmenu.c
+++ b/src/emu/ui/mainmenu.c
@@ -50,12 +50,12 @@ ui_menu_main::ui_menu_main(running_machine &machine, render_container *container
void ui_menu_main::populate()
{
- astring menu_text;
+ std::string menu_text;
/* add input menu items */
item_append("Input (general)", NULL, 0, (void *)INPUT_GROUPS);
- menu_text.printf("Input (this %s)",emulator_info::get_capstartgamenoun());
+ strprintf(menu_text, "Input (this %s)", emulator_info::get_capstartgamenoun());
item_append(menu_text.c_str(), NULL, 0, (void *)INPUT_SPECIFIC);
/* add optional input-related menus */
@@ -65,7 +65,7 @@ void ui_menu_main::populate()
item_append("Dip Switches", NULL, 0, (void *)SETTINGS_DIP_SWITCHES);
if (machine().ioport().has_configs())
{
- menu_text.printf("%s Configuration",emulator_info::get_capstartgamenoun());
+ strprintf(menu_text, "%s Configuration", emulator_info::get_capstartgamenoun());
item_append(menu_text.c_str(), NULL, 0, (void *)SETTINGS_DRIVER_CONFIG);
}
@@ -73,7 +73,7 @@ void ui_menu_main::populate()
item_append("Bookkeeping Info", NULL, 0, (void *)BOOKKEEPING);
/* add game info menu */
- menu_text.printf("%s Information",emulator_info::get_capstartgamenoun());
+ strprintf(menu_text, "%s Information", emulator_info::get_capstartgamenoun());
item_append(menu_text.c_str(), NULL, 0, (void *)GAME_INFO);
image_interface_iterator imgiter(machine().root_device());
@@ -134,7 +134,7 @@ void ui_menu_main::populate()
item_append("Cheat", NULL, 0, (void *)CHEAT);
/* add reset and exit menus */
- menu_text.printf("Select New %s",emulator_info::get_capstartgamenoun());
+ strprintf(menu_text, "Select New %s", emulator_info::get_capstartgamenoun());
item_append(menu_text.c_str(), NULL, 0, (void *)SELECT_GAME);
}