mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +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)
|
static int content_file_read(const char *path, void **buf, ssize_t *length)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_COMPRESSION
|
#ifdef HAVE_COMPRESSION
|
||||||
if (path_is_compressed_file(path))
|
if (path_contains_compressed_file(path))
|
||||||
{
|
{
|
||||||
if (file_archive_compressed_read(path, buf, NULL, length))
|
if (file_archive_compressed_read(path, buf, NULL, length))
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user