From 988aa3bbfbc3079ca8f977fad8fadcc729aa5009 Mon Sep 17 00:00:00 2001 From: "SND\\shalma_cp" Date: Sun, 28 Nov 2010 13:36:59 +0000 Subject: Twisted Metal 4 - cdrom.c - adjust psx cdda pregap - fix in-game music git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@60298 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/cdrom.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libpcsxcore') diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index 2d5a8539..fbba9a4f 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -458,6 +458,11 @@ void Find_CurTrack() { // find next track boundary - only need m:s accuracy sect1 = cdr.SetSectorPlay[0] * 60 * 75 + cdr.SetSectorPlay[1] * 75; sect2 = cdr.ResultTD[2] * 60 * 75 + cdr.ResultTD[1] * 75; + + // Twisted Metal 4 - psx cdda pregap (2-sec) + // - fix in-game music + sect2 -= 75 * 2; + if( sect1 >= sect2 ) { cdr.CurTrack++; continue; -- cgit v1.2.3