X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=libpcsxcore%2Fmisc.c;h=6853e30ee726a88032208e6e4c20832d9d91a2f3;hb=a1242082a082e66ea5b389b13810532f033e2a94;hp=854bbb8518bb09546dc9151130f21ab1e384dc8a;hpb=6d8f88c428c2ffb61f7251afae92e8bfbbe5350f;p=pcsx_rearmed.git diff --git a/libpcsxcore/misc.c b/libpcsxcore/misc.c index 854bbb85..6853e30e 100644 --- a/libpcsxcore/misc.c +++ b/libpcsxcore/misc.c @@ -91,7 +91,7 @@ static void mmssdd( char *b, char *p ) time[0] = itob(time[0]); time[1] = itob(time[1]); time[2] = itob(time[2]); #define READTRACK() \ - if (CDR_readTrack(time) == -1) return -1; \ + if (!CDR_readTrack(time)) return -1; \ buf = (void *)CDR_getBuffer(); \ if (buf == NULL) return -1; \ else CheckPPFCache((u8 *)buf, time[0], time[1], time[2]);