cdrom: remove stopping on TN
[pcsx_rearmed.git] / libpcsxcore / cdrom.c
index 3117a9b..034e657 100644 (file)
@@ -852,11 +852,6 @@ void cdrInterrupt() {
                        break;
 
                case CdlGetTN:
-                       // 5-Star Racing: don't stop CDDA
-                       //
-                       // Vib Ribbon: CD swap
-                       StopReading();
-
                        cdr.CmdProcess = 0;
                        SetResultSize(3);
                        cdr.StatP |= STATUS_ROTATING;
@@ -946,9 +941,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)