Add dropdown list for state slot

This commit is contained in:
twinaphex 2018-09-23 21:28:38 +02:00
parent 6de2ca7bd8
commit 8140d90ebc
2 changed files with 3 additions and 1 deletions

View File

@ -2839,6 +2839,8 @@ static bool setting_append_list(
parent_group,
general_write_handler,
general_read_handler);
(*list)[list_info->index - 1].action_ok = &setting_action_ok_uint;
(*list)[list_info->index - 1].offset_by = -1;
menu_settings_list_current_add_range(list, list_info, -1, 0, 1, true, false);
CONFIG_ACTION(

View File

@ -102,7 +102,7 @@ struct rarch_setting
uint8_t index;
uint32_t index_offset;
int8_t offset_by;
int16_t offset_by;
unsigned bind_type;
uint32_t size;