diff --git a/src/unif.cpp b/src/unif.cpp index 0e6267d0..5308c5c9 100644 --- a/src/unif.cpp +++ b/src/unif.cpp @@ -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); } }