mirror of
https://github.com/libretro/RetroArch
synced 2025-02-09 09:39:56 +00:00
(360) Fixed control strings in Controls menu
This commit is contained in:
parent
8e37cd4d89
commit
6222329a7b
@ -130,8 +130,8 @@ HRESULT CRetroArchControls::OnInit(XUIMessageInit * pInitData, BOOL& bHandled)
|
||||
|
||||
for(i = 0; i < RARCH_FIRST_META_KEY; i++)
|
||||
{
|
||||
rarch_convert_char_to_wchar(strw_buffer, buttons[i], sizeof(strw_buffer));
|
||||
snprintf(buttons[i], sizeof(buttons[i]), "%s #%d: %s", rarch_default_libretro_keybind_name_lut[i], controlno, rarch_input_find_platform_key_label(g_settings.input.binds[controlno][i].joykey));
|
||||
rarch_convert_char_to_wchar(strw_buffer, buttons[i], sizeof(strw_buffer));
|
||||
m_controlslist.SetText(i, strw_buffer);
|
||||
}
|
||||
|
||||
@ -149,8 +149,8 @@ HRESULT CRetroArchControls::OnControlNavigate(XUIMessageControlNavigate *pContro
|
||||
|
||||
for(i = 0; i < RARCH_FIRST_META_KEY; i++)
|
||||
{
|
||||
rarch_convert_char_to_wchar(strw_buffer, buttons[i], sizeof(strw_buffer));
|
||||
snprintf(buttons[i], sizeof(buttons[i]), "%s #%d: %s", rarch_default_libretro_keybind_name_lut[i], controlno, rarch_input_find_platform_key_label(g_settings.input.binds[controlno][i].joykey));
|
||||
rarch_convert_char_to_wchar(strw_buffer, buttons[i], sizeof(strw_buffer));
|
||||
m_controlslist.SetText(i, strw_buffer);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user