mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Fixed bug that let Retroarch proceed to retro_run without loading content
Removed unlocalized and redundant error message
This commit is contained in:
parent
819e930b89
commit
0e34c12d5c
@ -814,6 +814,11 @@ static bool content_file_init(
|
||||
|
||||
free(info);
|
||||
}
|
||||
else if (special == NULL)
|
||||
{
|
||||
*error_string = strdup(msg_hash_to_str(MSG_ERROR_LIBRETRO_CORE_REQUIRES_CONTENT));
|
||||
ret = false;
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
@ -874,7 +879,6 @@ static bool task_load_content(content_ctx_info_t *content_info,
|
||||
|
||||
if (!content_load(content_info))
|
||||
{
|
||||
*error_string = strdup("This core requires a content file, could not load content.\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user