X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fcdriso.c;h=ecf4240964151a46e976a308bf0515b7b3898ac2;hb=02b1a085fcb5bbabc4a9148daba91c3dc0a798f8;hp=db57b0c54ea93a80b6db6de03519d7538329a5ee;hpb=34ee348026b79e9bc0bc20450bf99ee987970a06;p=pcsx_rearmed.git diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c index db57b0c5..ecf42409 100644 --- a/libpcsxcore/cdriso.c +++ b/libpcsxcore/cdriso.c @@ -103,7 +103,6 @@ long CALLBACK CDR__configure(void); long CALLBACK CDR__test(void); void CALLBACK CDR__about(void); long CALLBACK CDR__setfilename(char *filename); -long CALLBACK CDR__getStatus(struct CdrStat *stat); static void DecodeRawSubData(void); @@ -1708,7 +1707,7 @@ long CALLBACK ISOreadCDDA(unsigned char m, unsigned char s, unsigned char f, uns } } } - if (!handle) { + if (!handle && !chd_img) { memset(buffer, 0, CD_FRAMESIZE_RAW); return -1; }