mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 07:59:42 +00:00
Fix auto save state when state file does not already exist (#16084)
Co-authored-by: Daniel Byon <daniel@danielbyon.com>
This commit is contained in:
parent
773a2750cd
commit
fc10539f3c
@ -1332,7 +1332,7 @@ bool content_auto_save_state(const char *path)
|
||||
|
||||
serial_size = core_serialize_size();
|
||||
|
||||
if (serial_size == 0 || !path_is_valid(path))
|
||||
if (serial_size == 0)
|
||||
return false;
|
||||
|
||||
serial_data = content_get_serialized_data(&serial_size);
|
||||
|
Loading…
Reference in New Issue
Block a user