mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-26 12:47:37 +00:00
Merge pull request #3048 from diablodiab/fix_RETRO_ENVIRONMENT_SET_SUPPORT_NO_GAME
Allow cores that do not need content to still start with content if given
This commit is contained in:
commit
9e9cc3835f
@ -1368,13 +1368,15 @@ static bool init_content_file_set_attribs(
|
||||
attr.i |= system->info.need_fullpath << 1;
|
||||
attr.i |= (!content_does_not_need_content()) << 2;
|
||||
|
||||
if (content_does_not_need_content()
|
||||
char *fullpath = NULL;
|
||||
|
||||
if (!runloop_ctl(RUNLOOP_CTL_GET_CONTENT_PATH, &fullpath)
|
||||
&& content_does_not_need_content()
|
||||
&& settings->set_supports_no_game_enable)
|
||||
string_list_append(content, "", attr);
|
||||
else
|
||||
{
|
||||
char *fullpath = NULL;
|
||||
if (runloop_ctl(RUNLOOP_CTL_GET_CONTENT_PATH, &fullpath))
|
||||
if(fullpath)
|
||||
string_list_append(content, fullpath, attr);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user