mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
limit archive path exception only to databases that actually support archives
This commit is contained in:
parent
88c8c49ef8
commit
a800ab68ee
1 changed files with 4 additions and 3 deletions
|
@ -755,6 +755,7 @@ bool core_info_database_supports_content_path(const char *database_path, const c
|
||||||
{
|
{
|
||||||
const core_info_t *info = &core_info_curr_list->list[i];
|
const core_info_t *info = &core_info_curr_list->list[i];
|
||||||
|
|
||||||
|
if (string_list_find_elem(info->databases_list, database))
|
||||||
if (string_list_find_elem(info->supported_extensions_list, "zip") ||
|
if (string_list_find_elem(info->supported_extensions_list, "zip") ||
|
||||||
string_list_find_elem(info->supported_extensions_list, "7z"))
|
string_list_find_elem(info->supported_extensions_list, "7z"))
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue