summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\notaz_cp <SND\notaz_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-01-13 18:23:26 +0000
committerSND\notaz_cp <SND\notaz_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-01-13 18:23:26 +0000
commited0067182712bc8eec7c1d2648cfa1dc4ffaa112 (patch)
tree29023a50b2566c27d94a0b0e0f2813c7d23a2148
parentee2206e4d4334c5887e830c7818ca10c134c2bdf (diff)
downloadpcsxr-ed0067182712bc8eec7c1d2648cfa1dc4ffaa112.tar.gz
cdrom: fix ID, again
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82238 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-rwxr-xr-xlibpcsxcore/cdrom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c
index d90db793..34ec3ba8 100755
--- a/libpcsxcore/cdrom.c
+++ b/libpcsxcore/cdrom.c
@@ -1031,9 +1031,9 @@ void cdrInterrupt() {
cdr.Result[2] = 0;
cdr.Result[3] = 0;
- // 0x10 - audio | 0x80 - unlicensed
- if (CDR_getStatus(&stat) == -1) {
- cdr.Result[1] = 0x80; // 0x80 leads to the menu in the bios, else loads CD
+ // 0x10 - audio | 0x40 - disk missing | 0x80 - unlicensed
+ if (CDR_getStatus(&stat) == -1 || stat.Type == 0) {
+ cdr.Result[1] = 0xc0;
}
else {
if (stat.Type == 2)