From fa37b7c57f1e98a44e2267b90db789f8dd6f3cd8 Mon Sep 17 00:00:00 2001 From: "SND\\shalma_cp" Date: Tue, 5 Oct 2010 16:52:58 +0000 Subject: BIOS: cdrom.c - Better GetStatus CD type detection git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@58105 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/cdriso.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'libpcsxcore') 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; } -- cgit v1.2.3