From 959fe620c6f7609ace07b4821df535faa3763377 Mon Sep 17 00:00:00 2001 From: "SND\\shalma_cp" Date: Mon, 22 Nov 2010 02:59:53 +0000 Subject: cdrom.c - minor repplay fake subq fix git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59923 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/cdrom.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libpcsxcore') diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index 2fe87737..96d9faac 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -668,8 +668,8 @@ void cdrRepplayInterrupt() cdr.Result[3] -= 1; } + cdr.Result[3] = itob(cdr.Result[3]); cdr.Result[4] = itob(cdr.Result[4]); - cdr.Result[5] = itob(cdr.Result[5]); report_time = 1; } else { @@ -684,8 +684,8 @@ void cdrRepplayInterrupt() cdr.Result[3] -= 1; } + cdr.Result[3] = itob(cdr.Result[3]); cdr.Result[4] = itob(cdr.Result[4]); - cdr.Result[5] = itob(cdr.Result[5]); cdr.Result[4] |= 0x80; @@ -1037,7 +1037,6 @@ void cdrInterrupt() { if( cdr.Play ) { - // NOTE: This only works for TRACK 01 (local) cdr.Result[2] = stat.Time[0]; cdr.Result[3] = stat.Time[1]- 2; cdr.Result[4] = itob( stat.Time[2] ); @@ -1059,7 +1058,6 @@ void cdrInterrupt() { cdr.Result[7] = itob( stat.Time[2] ); } else { - // NOTE: This only works for TRACK 01 (local) cdr.Result[2] = btoi(cdr.Prev[0]); cdr.Result[3] = btoi(cdr.Prev[1]) - 2; cdr.Result[4] = cdr.Prev[2]; -- cgit v1.2.3