summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-11-28 13:36:59 +0000
committerSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-11-28 13:36:59 +0000
commit988aa3bbfbc3079ca8f977fad8fadcc729aa5009 (patch)
tree7481b85c0cd98fadc45e405e3d42bcdb25cbefb9
parent56aece957b270f1e21878e14a3f6b2e81bc5f204 (diff)
downloadpcsxr-988aa3bbfbc3079ca8f977fad8fadcc729aa5009.tar.gz
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
-rw-r--r--libpcsxcore/cdrom.c5
1 files changed, 5 insertions, 0 deletions
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;