mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
Cleanup init_content_file_extract
This commit is contained in:
parent
7405535f03
commit
e8e58d841f
@ -590,15 +590,16 @@ static bool init_content_file_extract(
|
||||
for (i = 0; i < content->size; i++)
|
||||
{
|
||||
const char *ext = NULL;
|
||||
const char *valid_ext = NULL;
|
||||
const char *valid_ext = system->info.valid_extensions;
|
||||
|
||||
/* Block extract check. */
|
||||
if (content->elems[i].attr.i & 1)
|
||||
continue;
|
||||
|
||||
ext = path_get_extension(content->elems[i].data);
|
||||
valid_ext = special ? special->roms[i].valid_extensions :
|
||||
system->info.valid_extensions;
|
||||
ext = path_get_extension(content->elems[i].data);
|
||||
|
||||
if (special)
|
||||
valid_ext = special->roms[i].valid_extensions;
|
||||
|
||||
if (!ext)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user