mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
C89_BUILD fix
This commit is contained in:
parent
7da0c4fa46
commit
975e0f2247
@ -390,6 +390,7 @@ static bool read_content_file(unsigned i, const char *path, void **buf,
|
|||||||
{
|
{
|
||||||
#ifdef HAVE_COMPRESSION
|
#ifdef HAVE_COMPRESSION
|
||||||
content_stream_t stream_info;
|
content_stream_t stream_info;
|
||||||
|
const struct file_archive_file_backend *stream_backend = NULL;
|
||||||
uint32_t *content_crc_ptr = NULL;
|
uint32_t *content_crc_ptr = NULL;
|
||||||
#endif
|
#endif
|
||||||
uint8_t *ret_buf = NULL;
|
uint8_t *ret_buf = NULL;
|
||||||
@ -413,12 +414,11 @@ static bool read_content_file(unsigned i, const char *path, void **buf,
|
|||||||
#ifdef HAVE_COMPRESSION
|
#ifdef HAVE_COMPRESSION
|
||||||
content_get_crc(&content_crc_ptr);
|
content_get_crc(&content_crc_ptr);
|
||||||
|
|
||||||
stream_info.a = 0;
|
stream_info.a = 0;
|
||||||
stream_info.b = ret_buf;
|
stream_info.b = ret_buf;
|
||||||
stream_info.c = *length;
|
stream_info.c = *length;
|
||||||
|
|
||||||
const struct file_archive_file_backend *stream_backend =
|
stream_backend = file_archive_get_file_backend(path);
|
||||||
file_archive_get_file_backend(path);
|
|
||||||
|
|
||||||
if (stream_backend)
|
if (stream_backend)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user