From da9a47dfa29c289d250d0d54fdb5e111214cc648 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Thu, 2 Aug 2012 15:52:31 +0200 Subject: [PATCH] (PS3) Platform-agnostic button labels - pt.3 --- ps3/frontend/menu.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ps3/frontend/menu.c b/ps3/frontend/menu.c index a410634bf5..4fa084b671 100644 --- a/ps3/frontend/menu.c +++ b/ps3/frontend/menu.c @@ -802,7 +802,7 @@ static void select_file(item *items, menu *current_menu, uint64_t input) static void select_directory(item *items, menu *current_menu, uint64_t input) { - char path[1024]; + char path[1024], msg[256]; bool ret = true; DEVICE_CAST device_ptr = (DEVICE_CAST)driver.video_data; @@ -869,8 +869,14 @@ static void select_directory(item *items, menu *current_menu, uint64_t input) display_menubar(current_menu); - render_msg_place_func(x_position, comment_two_y_position, font_size, YELLOW, "X - Enter dir /\\ - return to settings START - Reset Startdir"); - render_msg_place_func(x_position, comment_y_position, font_size, LIGHTBLUE, "INFO - Browse to a directory and assign it as the path by\npressing SQUARE button."); + snprintf(msg, sizeof(msg), "[%s] - Enter dir | [%s] - Return to settings", rarch_input_find_platform_key_label(1 << RETRO_DEVICE_ID_JOYPAD_B), rarch_input_find_platform_key_label(1 << RETRO_DEVICE_ID_JOYPAD_X)); + render_msg_place_func(x_position, comment_two_y_position, font_size, YELLOW, msg); + + snprintf(msg, sizeof(msg), "[%s] - Reset to startdir", rarch_input_find_platform_key_label(1 << RETRO_DEVICE_ID_JOYPAD_START)); + render_msg_place_func(x_position, comment_two_y_position + 0.04f, FONT_SIZE, YELLOW, msg); + + snprintf(msg, sizeof(msg), "INFO - Browse to a directory and assign it as the path by\npressing [%s].", rarch_input_find_platform_key_label(1 << RETRO_DEVICE_ID_JOYPAD_Y)); + render_msg_place_func(x_position, comment_y_position, font_size, LIGHTBLUE, msg); render_msg_post_func(); }