notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b560436
)
cdriso: unbreak chd cdda
author
notaz
<notasas@gmail.com>
Wed, 25 Oct 2023 20:06:59 +0000
(23:06 +0300)
committer
notaz
<notasas@gmail.com>
Wed, 25 Oct 2023 20:06:59 +0000
(23:06 +0300)
fixes notaz/pcsx_rearmed#328
libpcsxcore/cdriso.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/cdriso.c
b/libpcsxcore/cdriso.c
index
db57b0c
..
660d109
100644
(file)
--- 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;
}