mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
C89 buildfix
This commit is contained in:
parent
6048eba78a
commit
0f8cf1a579
@ -2571,10 +2571,11 @@ enum
|
||||
|
||||
static int cheevos_iterate(coro_t *coro)
|
||||
{
|
||||
ssize_t num_read = 0;
|
||||
size_t to_read = 4096;
|
||||
uint8_t *buffer = NULL;
|
||||
const char *end = NULL;
|
||||
const int SNES_HEADER_LEN = 0x200;
|
||||
ssize_t num_read = 0;
|
||||
size_t to_read = 4096;
|
||||
uint8_t *buffer = NULL;
|
||||
const char *end = NULL;
|
||||
|
||||
static const uint32_t genesis_exts[] =
|
||||
{
|
||||
@ -2903,8 +2904,6 @@ found:
|
||||
/* Checks for the existence of a headered SNES file.
|
||||
Unheadered files fall back to GENERIC_MD5. */
|
||||
|
||||
const int SNES_HEADER_LEN = 0x200;
|
||||
|
||||
if (coro->len < 0x2000 || coro->len % 0x2000 != SNES_HEADER_LEN)
|
||||
{
|
||||
coro->gameid = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user