diff --git a/decompress/zip_support.c b/decompress/zip_support.c index bd51e95fdc..376ee69a35 100644 --- a/decompress/zip_support.c +++ b/decompress/zip_support.c @@ -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; }