aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authornotaz2013-01-13 20:35:14 +0200
committernotaz2013-01-13 20:35:35 +0200
commitd8432250e1574fb95bd8aab5b7a0231d0c3c3ded (patch)
tree0f5bc0b782dfb2c8030309056b1184100da9f150 /libpcsxcore
parent9a11a883128d9df1fb3e6cce8bde69834c766266 (diff)
downloadpcsx_rearmed-d8432250e1574fb95bd8aab5b7a0231d0c3c3ded.tar.gz
pcsx_rearmed-d8432250e1574fb95bd8aab5b7a0231d0c3c3ded.tar.bz2
pcsx_rearmed-d8432250e1574fb95bd8aab5b7a0231d0c3c3ded.zip
cdrom: fix ID, again
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/cdrom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c
index 3117a9b..3e95742 100644
--- a/libpcsxcore/cdrom.c
+++ b/libpcsxcore/cdrom.c
@@ -946,9 +946,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 || stat.Type == 0xff) {
+ cdr.Result[1] = 0xc0;
}
else {
if (stat.Type == 2)