notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dfa7e1
)
cdrom: yet another timing hack
author
notaz
<notasas@gmail.com>
Mon, 23 Dec 2024 12:21:47 +0000
(14:21 +0200)
committer
notaz
<notasas@gmail.com>
Mon, 23 Dec 2024 12:21:47 +0000
(14:21 +0200)
libretro/pcsx_rearmed#858
libpcsxcore/cdrom.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/cdrom.c
b/libpcsxcore/cdrom.c
index
e6ea22b
..
5c7e764
100644
(file)
--- a/
libpcsxcore/cdrom.c
+++ b/
libpcsxcore/cdrom.c
@@
-1322,6
+1322,8
@@
static void cdrReadInterruptSetResult(unsigned char result)
cdr.SetSectorPlay[0], cdr.SetSectorPlay[1], cdr.SetSectorPlay[2],
cdr.CmdInProgress, cdr.IrqStat);
cdr.Irq1Pending = result;
+ // F1 2000 timing hack :(
+ psxRegs.intCycle[PSXINT_CDREAD].sCycle += cdReadTime / 10;
return;
}
SetResultSize(1);