mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 09:32:52 +00:00
Check if content has been passed to core even if the core does not need content.
Only start without content if no content has been passed. This fixes a problem with cores that are both able to start with or without content, eg. ScummVM.
This commit is contained in:
parent
00f0a7dd91
commit
d7bfe70ca1
@ -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…
x
Reference in New Issue
Block a user