mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-15 06:58:34 +00:00
Corrected error value in case file is not found in zip file
This commit is contained in:
parent
e5112b3675
commit
565ca9fee8
@ -119,6 +119,11 @@ int read_zip_file(const char * archive_path, const char *relative_path, void **b
|
||||
}
|
||||
}
|
||||
unzClose( zipfile );
|
||||
if(!finished_reading)
|
||||
{
|
||||
RARCH_ERR("File %s not found in %s\n",relative_path,archive_path);
|
||||
return -1;
|
||||
}
|
||||
return bytes_read;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user