mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-08 19:40:30 +00:00
(RMenu) Fix Shader Manager bug
This commit is contained in:
parent
e575e3acc7
commit
4586b12173
@ -295,7 +295,7 @@ static unsigned char menu_stack_enum_array[10];
|
||||
static unsigned stack_idx = 0;
|
||||
static uint8_t selected = 0;
|
||||
static unsigned shader_choice_set_shader_slot = 0;
|
||||
static uint8_t setting_page_number = 0;
|
||||
static unsigned setting_page_number = 0;
|
||||
|
||||
static void menu_stack_pop(unsigned menu_type)
|
||||
{
|
||||
@ -1930,7 +1930,7 @@ static int set_setting_action(uint8_t menu_type, unsigned switchvalue, uint64_t
|
||||
static int select_setting(uint8_t menu_type, uint64_t input)
|
||||
{
|
||||
static uint8_t first_setting = FIRST_VIDEO_SETTING;
|
||||
uint8_t items_pages[SETTING_LAST] = {0};
|
||||
uint8_t items_pages[SETTING_LAST_LAST] = {0};
|
||||
uint8_t max_settings = 0;
|
||||
|
||||
font_params_t font_parms = {0};
|
||||
|
@ -203,6 +203,7 @@ enum
|
||||
SHADERMAN_SHADER_LAST = SHADERMAN_SHADER_0_SCALE + (3 * (RMENU_MAX_SHADERS - 1)),
|
||||
SHADERMAN_LAST,
|
||||
#endif
|
||||
SETTING_LAST_LAST,
|
||||
};
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user