mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +00:00
Merge pull request #7090 from Dwedit/fix_missing_content
Fix console mode loading core without content
This commit is contained in:
commit
f07b8b1965
@ -814,6 +814,11 @@ static bool content_file_init(
|
|||||||
|
|
||||||
free(info);
|
free(info);
|
||||||
}
|
}
|
||||||
|
else if (special == NULL)
|
||||||
|
{
|
||||||
|
*error_string = strdup(msg_hash_to_str(MSG_ERROR_LIBRETRO_CORE_REQUIRES_CONTENT));
|
||||||
|
ret = false;
|
||||||
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
@ -874,7 +879,6 @@ static bool task_load_content(content_ctx_info_t *content_info,
|
|||||||
|
|
||||||
if (!content_load(content_info))
|
if (!content_load(content_info))
|
||||||
{
|
{
|
||||||
*error_string = strdup("This core requires a content file, could not load content.\n");
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user