mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
content.c - Add HAVE_COMPRESSION ifdef around code block
This commit is contained in:
parent
6a9913c744
commit
9f11543ce2
@ -394,6 +394,7 @@ static bool load_content(const struct retro_subsystem_info *special,
|
|||||||
RARCH_LOG("Content loading skipped. Implementation will"
|
RARCH_LOG("Content loading skipped. Implementation will"
|
||||||
" load it on its own.\n");
|
" load it on its own.\n");
|
||||||
|
|
||||||
|
#ifdef HAVE_COMPRESSION
|
||||||
if (need_fullpath && path_contains_compressed_file(path))
|
if (need_fullpath && path_contains_compressed_file(path))
|
||||||
{
|
{
|
||||||
char new_path[PATH_MAX], new_basedir[PATH_MAX];
|
char new_path[PATH_MAX], new_basedir[PATH_MAX];
|
||||||
@ -433,6 +434,7 @@ static bool load_content(const struct retro_subsystem_info *special,
|
|||||||
string_list_append(g_extern.temporary_content,
|
string_list_append(g_extern.temporary_content,
|
||||||
new_path, attributes);
|
new_path, attributes);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user