summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/cdriso.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c
index 489c49d8..d8fee15e 100644
--- a/libpcsxcore/cdriso.c
+++ b/libpcsxcore/cdriso.c
@@ -917,17 +917,8 @@ static long CALLBACK ISOgetStatus(struct CdrStat *stat) {
sect = cddaCurOffset / CD_FRAMESIZE_RAW + 150;
sec2msf(sect, (u8 *)stat->Time);
- if (subHandle != NULL || subChanMixed) {
- int track_no;
-
- // BIOS - boot ID
- track_no = ((struct SubQ *) subbuffer)->TrackNumber;
- if( track_no == 0 ) track_no = 1;
-
- stat->Type = ti[ track_no ].type;
- }
- else
- stat->Type = ti[ cdr.CurTrack ].type;
+ // BIOS - boot ID (CD type)
+ stat->Type = ti[1].type;
return 0;
}