notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
psxcounters: try to support a dynarec with a very long timeslice
[pcsx_rearmed.git]
/
libpcsxcore
/
psxcounters.c
diff --git
a/libpcsxcore/psxcounters.c
b/libpcsxcore/psxcounters.c
index
ff0efbc
..
3342770
100644
(file)
--- a/
libpcsxcore/psxcounters.c
+++ b/
libpcsxcore/psxcounters.c
@@
-300,19
+300,19
@@
void psxRcntUpdate()
cycle = psxRegs.cycle;
// rcnt 0.
cycle = psxRegs.cycle;
// rcnt 0.
-
if
( cycle - rcnts[0].cycleStart >= rcnts[0].cycle )
+
while
( cycle - rcnts[0].cycleStart >= rcnts[0].cycle )
{
psxRcntReset( 0 );
}
// rcnt 1.
{
psxRcntReset( 0 );
}
// rcnt 1.
-
if
( cycle - rcnts[1].cycleStart >= rcnts[1].cycle )
+
while
( cycle - rcnts[1].cycleStart >= rcnts[1].cycle )
{
psxRcntReset( 1 );
}
// rcnt 2.
{
psxRcntReset( 1 );
}
// rcnt 2.
-
if
( cycle - rcnts[2].cycleStart >= rcnts[2].cycle )
+
while
( cycle - rcnts[2].cycleStart >= rcnts[2].cycle )
{
psxRcntReset( 2 );
}
{
psxRcntReset( 2 );
}