mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 10:21:26 +00:00
Allow auto save states also in cores that support no content
as long as some content is loaded
This commit is contained in:
parent
890008491c
commit
2cc84bb99e
@ -3214,8 +3214,6 @@ static bool command_event_init_core(enum rarch_core_type type)
|
||||
static bool command_event_save_auto_state(void)
|
||||
{
|
||||
bool ret = false;
|
||||
bool contentless = false;
|
||||
bool is_inited = false;
|
||||
char *savestate_name_auto = NULL;
|
||||
size_t
|
||||
savestate_name_auto_size = PATH_MAX_LENGTH * sizeof(char);
|
||||
@ -3227,9 +3225,7 @@ static bool command_event_save_auto_state(void)
|
||||
if (current_core_type == CORE_TYPE_DUMMY)
|
||||
return false;
|
||||
|
||||
content_get_status(&contentless, &is_inited);
|
||||
|
||||
if (contentless)
|
||||
if (string_is_empty(path_basename(path_get(RARCH_PATH_BASENAME))))
|
||||
return false;
|
||||
|
||||
#ifdef HAVE_CHEEVOS
|
||||
|
Loading…
x
Reference in New Issue
Block a user