fixed #525 A bug when loading UNF games
This commit is contained in:
parent
18a9da0720
commit
5adfd86a5b
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue