mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Make auto state while loading new content on the fly (#16835)
This commit is contained in:
parent
2ecf5e79c5
commit
bb3e1d8be4
@ -4199,6 +4199,14 @@ bool command_event(enum event_command cmd, void *data)
|
|||||||
settings->bools.content_runtime_log_aggregate,
|
settings->bools.content_runtime_log_aggregate,
|
||||||
settings->paths.directory_runtime_log,
|
settings->paths.directory_runtime_log,
|
||||||
settings->paths.directory_playlist);
|
settings->paths.directory_playlist);
|
||||||
|
|
||||||
|
if ( runloop_st->flags & RUNLOOP_FLAG_CORE_RUNNING
|
||||||
|
&& settings->bools.savestate_auto_save)
|
||||||
|
{
|
||||||
|
command_event_save_auto_state();
|
||||||
|
content_wait_for_save_state_task();
|
||||||
|
}
|
||||||
|
|
||||||
content_reset_savestate_backups();
|
content_reset_savestate_backups();
|
||||||
hwr = VIDEO_DRIVER_GET_HW_CONTEXT_INTERNAL(video_st);
|
hwr = VIDEO_DRIVER_GET_HW_CONTEXT_INTERNAL(video_st);
|
||||||
#ifdef HAVE_CHEEVOS
|
#ifdef HAVE_CHEEVOS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user