mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Cleanup variables never used
This commit is contained in:
parent
2fdd4444ff
commit
45cd860835
1 changed files with 6 additions and 13 deletions
19
command.c
19
command.c
|
@ -1823,11 +1823,8 @@ bool command_event(enum event_command cmd, void *data)
|
|||
return false;
|
||||
|
||||
#ifdef HAVE_CHEEVOS
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
if (cheevos_hardcore_active)
|
||||
return false;
|
||||
}
|
||||
if (cheevos_hardcore_active)
|
||||
return false;
|
||||
#endif
|
||||
|
||||
return command_event_main_state(cmd);
|
||||
|
@ -1867,7 +1864,7 @@ bool command_event(enum event_command cmd, void *data)
|
|||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
#ifdef HAVE_CHEEVOS
|
||||
if (cheevos_hardcore_active)
|
||||
if (cheevos_hardcore_active)
|
||||
return false;
|
||||
#endif
|
||||
|
||||
|
@ -1969,15 +1966,11 @@ bool command_event(enum event_command cmd, void *data)
|
|||
cheat_manager_apply_cheats();
|
||||
break;
|
||||
case CMD_EVENT_REWIND_DEINIT:
|
||||
{
|
||||
#ifdef HAVE_CHEEVOS
|
||||
settings_t *settings = config_get_ptr();
|
||||
if (cheevos_hardcore_active)
|
||||
return false;
|
||||
if (cheevos_hardcore_active)
|
||||
return false;
|
||||
#endif
|
||||
|
||||
state_manager_event_deinit();
|
||||
}
|
||||
state_manager_event_deinit();
|
||||
break;
|
||||
case CMD_EVENT_REWIND_INIT:
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue