X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fcdriso.c;h=660d109cc45c2ebc7283baef7ec620f7922bb551;hb=f0d80aa4838a05c8e86d99bb1379ba0579794e10;hp=db57b0c54ea93a80b6db6de03519d7538329a5ee;hpb=b560436b844ccc088f7e72aff7e246b0d285744c;p=pcsx_rearmed.git diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c index db57b0c5..660d109c 100644 --- a/libpcsxcore/cdriso.c +++ b/libpcsxcore/cdriso.c @@ -1708,7 +1708,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; }