mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Simplifications
This commit is contained in:
parent
7ec64e804e
commit
1f28ebae9a
@ -1011,10 +1011,8 @@ static int core_list_action_toggle(void *data, unsigned action, bool wraparound)
|
||||
|
||||
static void core_list_change_handler(void *data)
|
||||
{
|
||||
rarch_setting_t *setting = (rarch_setting_t *)data;
|
||||
(void)setting;
|
||||
|
||||
event_command(EVENT_CMD_LOAD_CORE);
|
||||
(void)data;
|
||||
event_command(EVENT_CMD_LOAD_CORE);
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -3362,10 +3360,7 @@ static void settings_data_list_current_add_flags(
|
||||
**/
|
||||
static void load_content_change_handler(void *data)
|
||||
{
|
||||
rarch_setting_t *setting = (rarch_setting_t *)data;
|
||||
|
||||
if (!setting)
|
||||
return;
|
||||
(void)data;
|
||||
|
||||
/* This does not appear to be robust enough because sometimes I get
|
||||
* crashes. I think it is because LOAD_CORE has not yet run. I'm not
|
||||
|
Loading…
x
Reference in New Issue
Block a user