aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotaz2011-02-15 14:08:06 +0200
committernotaz2011-02-15 14:08:06 +0200
commit122289173e2732c71a03584d6a34a0382725f020 (patch)
tree3ea7f12e078606f579119a010bd933dd21465611
parentda1a56d5aadf1593c88fc69eda13ff8b90aa19e2 (diff)
downloadpcsx_rearmed-122289173e2732c71a03584d6a34a0382725f020.tar.gz
pcsx_rearmed-122289173e2732c71a03584d6a34a0382725f020.tar.bz2
pcsx_rearmed-122289173e2732c71a03584d6a34a0382725f020.zip
cdrom: move pause delay after ACK
This solves FF7 slowdowns and keeps games that need this delay working.
-rw-r--r--libpcsxcore/cdrom.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c
index 343d82c..0de7ecc 100644
--- a/libpcsxcore/cdrom.c
+++ b/libpcsxcore/cdrom.c
@@ -861,7 +861,17 @@ void cdrInterrupt() {
cdr.Result[0] = cdr.StatP;
cdr.Stat = Acknowledge;
- AddIrqQueue(CdlPause + 0x20, 0x800);
+ /*
+ Gundam Battle Assault 2: much slower (*)
+ - Fixes boot, gameplay
+
+ Hokuto no Ken 2: slower
+ - Fixes intro + subtitles
+
+ InuYasha - Feudal Fairy Tale: slower
+ - Fixes battles
+ */
+ AddIrqQueue(CdlPause + 0x20, cdReadTime * 3);
cdr.Ctrl |= 0x80;
break;
@@ -1610,17 +1620,7 @@ void cdrWrite1(unsigned char rt) {
cdr.Ctrl |= 0x80;
cdr.Stat = NoIntr;
- /*
- Gundam Battle Assault 2: much slower (*)
- - Fixes boot, gameplay
-
- Hokuto no Ken 2: slower
- - Fixes intro + subtitles
-
- InuYasha - Feudal Fairy Tale: slower
- - Fixes battles
- */
- AddIrqQueue(cdr.Cmd, cdReadTime * 3);
+ AddIrqQueue(cdr.Cmd, 0x800);
break;
case CdlReset: