X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fcdrom.c;fp=libpcsxcore%2Fcdrom.c;h=3e95742deb071c63ebb9ae8d2032923fff620fb8;hp=3117a9bd622cd27f0a71da5c86949aa2d31e824e;hb=d8432250e1574fb95bd8aab5b7a0231d0c3c3ded;hpb=9a11a883128d9df1fb3e6cce8bde69834c766266 diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index 3117a9bd..3e95742d 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)