Linux build fix

This commit is contained in:
Alexey 'Cluster' Avdyukhin 2023-01-06 16:34:46 +04:00
parent 4c215246fe
commit e6e17ded38
1 changed files with 2 additions and 1 deletions

View File

@ -798,6 +798,7 @@ BMAPPINGLocal bmap[] = {
};
int iNESLoad(const char *name, FCEUFILE *fp, int OverwriteVidMode) {
int result;
if (FCEU_fread(&head, 1, 16, fp) != 16 || memcmp(&head, "NES\x1A", 4))
return LOADER_INVALID_FORMAT;
@ -1025,7 +1026,7 @@ int iNESLoad(const char *name, FCEUFILE *fp, int OverwriteVidMode) {
iNESCart.mirror = Mirroring;
iNESCart.mirrorAs2Bits = MirroringAs2bits;
int result = iNES_Init(MapperNo);
result = iNES_Init(MapperNo);
switch(result)
{
case 0: