mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 13:20:43 +00:00
Backport this regression fix for builds with no network support - this
should presumably restore 3DS performance according to danieljg
This commit is contained in:
parent
74a22169ac
commit
921418af03
14
command.c
14
command.c
@ -1865,13 +1865,17 @@ bool command_event(enum event_command cmd, void *data)
|
|||||||
if (settings->bools.cheevos_hardcore_mode_enable)
|
if (settings->bools.cheevos_hardcore_mode_enable)
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
|
if (settings->bools.rewind_enable)
|
||||||
|
{
|
||||||
#ifdef HAVE_NETWORKING
|
#ifdef HAVE_NETWORKING
|
||||||
/* Only enable state manager if netplay is not underway
|
/* Only enable state manager if netplay is not underway
|
||||||
TODO: Add a setting for these tweaks */
|
TODO: Add a setting for these tweaks */
|
||||||
if (settings->bools.rewind_enable
|
if (!netplay_driver_ctl(RARCH_NETPLAY_CTL_IS_ENABLED, NULL))
|
||||||
&& !netplay_driver_ctl(RARCH_NETPLAY_CTL_IS_ENABLED, NULL))
|
|
||||||
#endif
|
#endif
|
||||||
state_manager_event_init((unsigned)settings->rewind_buffer_size);
|
{
|
||||||
|
state_manager_event_init((unsigned)settings->rewind_buffer_size);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case CMD_EVENT_REWIND_TOGGLE:
|
case CMD_EVENT_REWIND_TOGGLE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user