parent
5ef2b5a442
commit
aa94f571e2
|
@ -35,7 +35,6 @@ int action_cancel_pop_default(const char *path,
|
||||||
{
|
{
|
||||||
size_t new_selection_ptr;
|
size_t new_selection_ptr;
|
||||||
struct menu_state *menu_st = menu_state_get_ptr();
|
struct menu_state *menu_st = menu_state_get_ptr();
|
||||||
size_t selection = menu_st->selection_ptr;
|
|
||||||
const char *menu_label = NULL;
|
const char *menu_label = NULL;
|
||||||
unsigned menu_type = MENU_SETTINGS_NONE;
|
unsigned menu_type = MENU_SETTINGS_NONE;
|
||||||
menu_search_terms_t *menu_search_terms = menu_entries_search_get_terms();
|
menu_search_terms_t *menu_search_terms = menu_entries_search_get_terms();
|
||||||
|
|
|
@ -969,7 +969,6 @@ static int action_left_state_slot(unsigned type, const char *label,
|
||||||
static int action_left_replay_slot(unsigned type, const char *label,
|
static int action_left_replay_slot(unsigned type, const char *label,
|
||||||
bool wraparound)
|
bool wraparound)
|
||||||
{
|
{
|
||||||
struct menu_state *menu_st = menu_state_get_ptr();
|
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
||||||
settings->ints.replay_slot--;
|
settings->ints.replay_slot--;
|
||||||
|
|
|
@ -4670,7 +4670,6 @@ static int action_ok_cheat_delete(const char *path,
|
||||||
char msg[128];
|
char msg[128];
|
||||||
size_t new_selection_ptr = 0;
|
size_t new_selection_ptr = 0;
|
||||||
struct menu_state *menu_st = menu_state_get_ptr();
|
struct menu_state *menu_st = menu_state_get_ptr();
|
||||||
size_t selection = menu_st->selection_ptr;
|
|
||||||
unsigned int new_size = cheat_manager_get_size() - 1;
|
unsigned int new_size = cheat_manager_get_size() - 1;
|
||||||
|
|
||||||
if (new_size >0)
|
if (new_size >0)
|
||||||
|
|
|
@ -960,7 +960,6 @@ static int action_right_state_slot(unsigned type, const char *label,
|
||||||
static int action_right_replay_slot(unsigned type, const char *label,
|
static int action_right_replay_slot(unsigned type, const char *label,
|
||||||
bool wraparound)
|
bool wraparound)
|
||||||
{
|
{
|
||||||
struct menu_state *menu_st = menu_state_get_ptr();
|
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
||||||
settings->ints.replay_slot++;
|
settings->ints.replay_slot++;
|
||||||
|
|
|
@ -2405,7 +2405,6 @@ static void materialui_update_fullscreen_thumbnail_label(
|
||||||
{
|
{
|
||||||
struct menu_state *menu_st = menu_state_get_ptr();
|
struct menu_state *menu_st = menu_state_get_ptr();
|
||||||
size_t selection = menu_st->selection_ptr;
|
size_t selection = menu_st->selection_ptr;
|
||||||
const char *thumbnail_label = NULL;
|
|
||||||
menu_entry_t selected_entry;
|
menu_entry_t selected_entry;
|
||||||
|
|
||||||
/* Cache selected entry label
|
/* Cache selected entry label
|
||||||
|
|
Loading…
Reference in New Issue