mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-11 13:26:34 +00:00
only load compressed content if the path contains the file to extract
This commit is contained in:
parent
bef6308b12
commit
f8d51c2f86
@ -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…
x
Reference in New Issue
Block a user