diff --git a/frontend/menu/rmenu_xui.cpp b/frontend/menu/rmenu_xui.cpp index 120489e90a..fb6cc8fee8 100644 --- a/frontend/menu/rmenu_xui.cpp +++ b/frontend/menu/rmenu_xui.cpp @@ -1003,14 +1003,24 @@ HRESULT CRetroArchSettings::OnInit(XUIMessageInit * pInitData, BOOL& bHandled) GetChildById(L"XuiSettingsList", &m_settingslist); GetChildById(L"XuiBackButton", &m_back); + XuiListDeleteItems(m_settingslist, 0, XuiListGetItemCount(m_settingslist)); + + XuiListInsertItems(m_settingslist, 0, 1); XuiListSetText(m_settingslist, SETTING_EMU_REWIND_ENABLED, g_settings.rewind_enable ? L"Rewind: ON" : L"Rewind: OFF"); - XuiListSetText(m_settingslist, SETTING_EMU_SHOW_INFO_MSG, (g_extern.lifecycle_mode_state & (1ULL << MODE_INFO_DRAW)) ? L"Info Messages: ON" : L"Info Messages: OFF"); - XuiListSetText(m_settingslist, SETTING_EMU_SHOW_DEBUG_INFO_MSG, (g_extern.lifecycle_mode_state & (1ULL << MODE_FPS_DRAW)) ? L"Debug Info Messages: ON" : L"Debug Info messages: OFF"); - XuiListSetText(m_settingslist, SETTING_GAMMA_CORRECTION_ENABLED, g_extern.console.screen.gamma_correction ? L"Gamma Correction: ON" : L"Gamma correction: OFF"); - XuiListSetText(m_settingslist, SETTING_HW_TEXTURE_FILTER, g_settings.video.smooth ? L"Default Filter: Linear" : L"Default Filter: Nearest"); + menu_settings_create_menu_item_label_w(strw_buffer, S_LBL_REWIND_GRANULARITY, sizeof(strw_buffer)); + XuiListInsertItems(m_settingslist, 1, 1); XuiListSetText(m_settingslist, SETTING_EMU_REWIND_GRANULARITY, strw_buffer); + XuiListInsertItems(m_settingslist, 2, 1); + XuiListSetText(m_settingslist, SETTING_EMU_SHOW_INFO_MSG, (g_extern.lifecycle_mode_state & (1ULL << MODE_INFO_DRAW)) ? L"Info Messages: ON" : L"Info Messages: OFF"); + XuiListInsertItems(m_settingslist, 3, 1); + XuiListSetText(m_settingslist, SETTING_EMU_SHOW_DEBUG_INFO_MSG, (g_extern.lifecycle_mode_state & (1ULL << MODE_FPS_DRAW)) ? L"Debug Info Messages: ON" : L"Debug Info messages: OFF"); + XuiListInsertItems(m_settingslist, 4, 1); + XuiListSetText(m_settingslist, SETTING_GAMMA_CORRECTION_ENABLED, g_extern.console.screen.gamma_correction ? L"Gamma Correction: ON" : L"Gamma correction: OFF"); + XuiListInsertItems(m_settingslist, 5, 1); + XuiListSetText(m_settingslist, SETTING_HW_TEXTURE_FILTER, g_settings.video.smooth ? L"Default Filter: Linear" : L"Default Filter: Nearest"); + return 0; } diff --git a/frontend/menu/rmenu_xui.h b/frontend/menu/rmenu_xui.h index 134d96e58c..e3ecb5f809 100644 --- a/frontend/menu/rmenu_xui.h +++ b/frontend/menu/rmenu_xui.h @@ -27,8 +27,6 @@ enum SETTING_EMU_SHOW_DEBUG_INFO_MSG, SETTING_GAMMA_CORRECTION_ENABLED, SETTING_HW_TEXTURE_FILTER, - SETTING_ENABLE_SRAM_PATH, - SETTING_ENABLE_STATE_PATH, }; enum diff --git a/media/360/hd/rarch_settings.xui b/media/360/hd/rarch_settings.xui index 2d2c28fc1c..ee6a70fbf0 100644 --- a/media/360/hd/rarch_settings.xui +++ b/media/360/hd/rarch_settings.xui @@ -30,13 +30,6 @@ 683.120056 383.040009 44.880005,64.959991,0.000000 -Rewind: -Rewind granularity: -Info messages: -Debug info messages: -Gamma Correction: -Hardware filtering shader #1: - @@ -302,6 +295,18 @@ Hardware filtering shader #1: 0.000000,10.000000,0.000000 + + +control_ListItem +226.000000 +45.000000 +7.000000,22.000000,0.000000 +5 +false +XuiButton +0.000000,10.000000,0.000000 + + diff --git a/media/360/sd/rarch_settings.xui b/media/360/sd/rarch_settings.xui index add649887d..7d02aad507 100644 --- a/media/360/sd/rarch_settings.xui +++ b/media/360/sd/rarch_settings.xui @@ -30,13 +30,6 @@ 492.000000 232.720001 44.880005,64.959991,0.000000 -Rewind: -Rewind granularity: -Info messages: -Debug info messages: -Gamma Correction: -Hardware filtering shader #1: - @@ -278,6 +271,18 @@ Hardware filtering shader #1: 0.000000,10.000000,0.000000 + + +control_ListItem +226.000000 +45.000000 +7.000000,22.000000,0.000000 +5 +false +XuiButton +0.000000,10.000000,0.000000 + +