mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 18:40:09 +00:00
C89 buildfixes
This commit is contained in:
parent
7e4d0b3b41
commit
e403b8fb1e
@ -3042,14 +3042,17 @@ found:
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Fall back to headerless hashing
|
unsigned i;
|
||||||
// PRG ROM size is unknown, so test by 16KB chunks
|
|
||||||
size_t chunks = coro->len >> 14;
|
size_t chunks = coro->len >> 14;
|
||||||
size_t chunk_size = 0x4000;
|
size_t chunk_size = 0x4000;
|
||||||
|
|
||||||
|
/* Fall back to headerless hashing
|
||||||
|
* PRG ROM size is unknown, so test by 16KB chunks */
|
||||||
|
|
||||||
coro->round = 0;
|
coro->round = 0;
|
||||||
coro->offset = 0;
|
coro->offset = 0;
|
||||||
|
|
||||||
for (int i = 0; i < chunks; i++)
|
for (i = 0; i < chunks; i++)
|
||||||
{
|
{
|
||||||
MD5_Init(&coro->md5);
|
MD5_Init(&coro->md5);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user