mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +00:00
Refactor load_content_need_fullpath
This commit is contained in:
parent
41d3657b5d
commit
6390739747
@ -489,9 +489,6 @@ static bool load_content_need_fullpath(
|
|||||||
if (!path_contains_compressed_file(path))
|
if (!path_contains_compressed_file(path))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
RARCH_LOG("Content loading skipped. Implementation will"
|
|
||||||
" load it on its own.\n");
|
|
||||||
|
|
||||||
RARCH_LOG("Compressed file in case of need_fullpath."
|
RARCH_LOG("Compressed file in case of need_fullpath."
|
||||||
"Now extracting to temporary directory.\n");
|
"Now extracting to temporary directory.\n");
|
||||||
|
|
||||||
@ -534,8 +531,8 @@ static bool load_content_need_fullpath(
|
|||||||
string_list_append(g_extern.temporary_content,
|
string_list_append(g_extern.temporary_content,
|
||||||
new_path, attributes);
|
new_path, attributes);
|
||||||
|
|
||||||
return true;
|
|
||||||
#endif
|
#endif
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -589,6 +586,9 @@ static bool load_content(const struct retro_subsystem_info *special,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
RARCH_LOG("Content loading skipped. Implementation will"
|
||||||
|
" load it on its own.\n");
|
||||||
|
|
||||||
if (!load_content_need_fullpath(&info[i], i,
|
if (!load_content_need_fullpath(&info[i], i,
|
||||||
additional_path_allocs, need_fullpath, path))
|
additional_path_allocs, need_fullpath, path))
|
||||||
goto end;
|
goto end;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user