fixed #525 A bug when loading UNF games

This commit is contained in:
CaH4e3 2012-08-06 05:21:40 +00:00
parent 18a9da0720
commit 5adfd86a5b
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,7 @@ int LoadUNIFChunks(FCEUFILE *fp)
x++;
}
if(!t)
if(FCEU_fseek(fp,uchead.info,SEEK_CUR))
if(FCEU_fseek(fp,uchead.info,SEEK_CUR)<0)
return(0);
}
}