From 04e7281c521f944d701285a6fec9a5ea0310f42a Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 25 Oct 2023 23:06:59 +0300 Subject: [PATCH] cdriso: unbreak chd cdda fixes notaz/pcsx_rearmed#328 --- libpcsxcore/cdriso.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5