From: notaz Date: Wed, 25 Oct 2023 20:06:59 +0000 (+0300) Subject: cdriso: unbreak chd cdda X-Git-Tag: r24l~100 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04e7281c521f944d701285a6fec9a5ea0310f42a;p=pcsx_rearmed.git cdriso: unbreak chd cdda fixes notaz/pcsx_rearmed#328 --- diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c index c1a9cc73..cb510606 100644 --- a/libpcsxcore/cdriso.c +++ b/libpcsxcore/cdriso.c @@ -1976,7 +1976,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; }