mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
only load compressed content if the path contains the file to extract
This commit is contained in:
parent
bef6308b12
commit
f8d51c2f86
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ static uint32_t content_crc = 0;
|
|||
static int content_file_read(const char *path, void **buf, ssize_t *length)
|
||||
{
|
||||
#ifdef HAVE_COMPRESSION
|
||||
if (path_is_compressed_file(path))
|
||||
if (path_contains_compressed_file(path))
|
||||
{
|
||||
if (file_archive_compressed_read(path, buf, NULL, length))
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue