mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Cleanups; fixes of warnings
This commit is contained in:
parent
0cebebbfdc
commit
c594abb10d
3 changed files with 1 additions and 6 deletions
|
@ -3307,7 +3307,6 @@ static bool config_load_file(global_t *global,
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
char tmp_str[PATH_MAX_LENGTH];
|
char tmp_str[PATH_MAX_LENGTH];
|
||||||
unsigned tmp_uint = 0;
|
|
||||||
bool tmp_bool = false;
|
bool tmp_bool = false;
|
||||||
static bool first_load = true;
|
static bool first_load = true;
|
||||||
unsigned msg_color = 0;
|
unsigned msg_color = 0;
|
||||||
|
|
|
@ -672,7 +672,7 @@ ssize_t menu_explore_get_entry_playlist_index(unsigned type,
|
||||||
file_list_t *list, size_t *list_pos, size_t *list_size);
|
file_list_t *list, size_t *list_pos, size_t *list_size);
|
||||||
ssize_t menu_explore_set_playlist_thumbnail(unsigned type,
|
ssize_t menu_explore_set_playlist_thumbnail(unsigned type,
|
||||||
gfx_thumbnail_path_data_t *thumbnail_path_data); /* returns list index */
|
gfx_thumbnail_path_data_t *thumbnail_path_data); /* returns list index */
|
||||||
bool menu_explore_is_content_list();
|
bool menu_explore_is_content_list(void);
|
||||||
void menu_explore_context_init(void);
|
void menu_explore_context_init(void);
|
||||||
void menu_explore_context_deinit(void);
|
void menu_explore_context_deinit(void);
|
||||||
void menu_explore_free_state(explore_state_t *state);
|
void menu_explore_free_state(explore_state_t *state);
|
||||||
|
|
|
@ -2683,8 +2683,6 @@ bool command_event(enum event_command cmd, void *data)
|
||||||
if (!netplay_driver_ctl(RARCH_NETPLAY_CTL_ALLOW_PAUSE, NULL))
|
if (!netplay_driver_ctl(RARCH_NETPLAY_CTL_ALLOW_PAUSE, NULL))
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
boolean = false;
|
|
||||||
runloop_st->flags &= ~RUNLOOP_FLAG_PAUSED;
|
runloop_st->flags &= ~RUNLOOP_FLAG_PAUSED;
|
||||||
runloop_pause_checks();
|
runloop_pause_checks();
|
||||||
break;
|
break;
|
||||||
|
@ -2693,8 +2691,6 @@ bool command_event(enum event_command cmd, void *data)
|
||||||
if (!netplay_driver_ctl(RARCH_NETPLAY_CTL_ALLOW_PAUSE, NULL))
|
if (!netplay_driver_ctl(RARCH_NETPLAY_CTL_ALLOW_PAUSE, NULL))
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
boolean = true;
|
|
||||||
runloop_st->flags |= RUNLOOP_FLAG_PAUSED;
|
runloop_st->flags |= RUNLOOP_FLAG_PAUSED;
|
||||||
runloop_pause_checks();
|
runloop_pause_checks();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue