summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authorSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-11-22 02:59:53 +0000
committerSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-11-22 02:59:53 +0000
commit959fe620c6f7609ace07b4821df535faa3763377 (patch)
tree26dedaaa72b418a5a9c0f1167c3bf9820666e538 /libpcsxcore
parent232ed4516dac89d54923aa4b818b8b1cc2b48e96 (diff)
downloadpcsxr-959fe620c6f7609ace07b4821df535faa3763377.tar.gz
cdrom.c
- minor repplay fake subq fix git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59923 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/cdrom.c6
1 files changed, 2 insertions, 4 deletions
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];