From f0d80aa4838a05c8e86d99bb1379ba0579794e10 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 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; } -- 2.39.5