summaryrefslogtreecommitdiff
path: root/libpcsxcore/cdriso.c
diff options
context:
space:
mode:
authorSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-10-05 16:52:58 +0000
committerSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-10-05 16:52:58 +0000
commitfa37b7c57f1e98a44e2267b90db789f8dd6f3cd8 (patch)
tree9e22fe1e80c10418da912deefe7507cec3097bd1 /libpcsxcore/cdriso.c
parentc80b2c86362c8ba4524ae06b411c042fb180f59f (diff)
BIOS: cdrom.c
- Better GetStatus CD type detection git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@58105 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/cdriso.c')
-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;
}