mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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->paths.directory_runtime_log,
|
||||
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();
|
||||
hwr = VIDEO_DRIVER_GET_HW_CONTEXT_INTERNAL(video_st);
|
||||
#ifdef HAVE_CHEEVOS
|
||||
|
Loading…
x
Reference in New Issue
Block a user