(360) Add S_LBL_RARCH_VERSION

This commit is contained in:
TwinAphex51224 2012-05-29 21:47:53 +02:00
parent 5f0991c052
commit 074ff4b2fc
3 changed files with 5 additions and 4 deletions

View File

@ -506,12 +506,9 @@ HRESULT CRetroArchMain::OnInit(XUIMessageInit * pInitData, BOOL& bHandled)
char core_text[256];
snprintf(core_text, sizeof(core_text), "%s (v%s)", id, info.library_version);
char package_version[32];
snprintf(package_version, sizeof(core_text), "RetroArch %s", PACKAGE_VERSION);
rarch_convert_char_to_wchar(strw_buffer, core_text, sizeof(strw_buffer));
m_core.SetText(strw_buffer);
rarch_convert_char_to_wchar(strw_buffer, package_version, sizeof(strw_buffer));
rarch_settings_create_menu_item_label(strw_buffer, S_LBL_RARCH_VERSION, sizeof(strw_buffer));
m_title.SetText(strw_buffer);
return 0;

View File

@ -216,6 +216,9 @@ void rarch_settings_create_menu_item_label(wchar_t * strwbuf, unsigned setting,
break;
case S_LBL_SHADER_2:
snprintf(str, sizeof(str), "Shader #2: %s", g_settings.video.second_pass_shader);
break;
case S_LBL_RARCH_VERSION:
snprintf(str, sizeof(str), "RetroArch %s", PACKAGE_VERSION);
break;
case S_LBL_SCALE_FACTOR:
snprintf(str, sizeof(str), "Scale Factor: %f (X) / %f (Y)", g_settings.video.fbo_scale_x, g_settings.video.fbo_scale_y);

View File

@ -79,6 +79,7 @@ enum
enum
{
S_LBL_ASPECT_RATIO = 0,
S_LBL_RARCH_VERSION,
S_LBL_ROTATION,
S_LBL_SHADER,
S_LBL_SHADER_2,