mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
fix a name clash with newer zlib
This commit is contained in:
parent
0e352905c7
commit
ad949800e4
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ typedef struct _cso_struct
|
||||||
}
|
}
|
||||||
cso_struct;
|
cso_struct;
|
||||||
|
|
||||||
static int uncompress2(void *dest, int destLen, void *source, int sourceLen)
|
static int uncompress_buf(void *dest, int destLen, void *source, int sourceLen)
|
||||||
{
|
{
|
||||||
z_stream stream;
|
z_stream stream;
|
||||||
int err;
|
int err;
|
||||||
|
@ -326,7 +326,7 @@ size_t pm_read(void *ptr, size_t bytes, pm_file *stream)
|
||||||
}
|
}
|
||||||
cso->block_in_buff = block;
|
cso->block_in_buff = block;
|
||||||
}
|
}
|
||||||
rret = uncompress2(tmp_dst, 2048, cso->in_buff, read_len);
|
rret = uncompress_buf(tmp_dst, 2048, cso->in_buff, read_len);
|
||||||
if (rret != 0) {
|
if (rret != 0) {
|
||||||
elprintf(EL_STATUS, "cso: uncompress failed @ %08x with %i", read_pos, rret);
|
elprintf(EL_STATUS, "cso: uncompress failed @ %08x with %i", read_pos, rret);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue