mirror of https://github.com/PCSX2/pcsx2.git
Fixed bug in IOP Counters stopping Dead to Rights booting. Ironicly we had already fixed this bug on the EE side.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1386 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
df2b0365ad
commit
c7d2a3933c
|
@ -402,11 +402,11 @@ void psxRcntUpdate()
|
|||
{
|
||||
s32 change = psxRegs.cycle - psxCounters[i].sCycleT;
|
||||
|
||||
// don't count disabled, gated, or hblank counters...
|
||||
// don't count disabled or hblank counters...
|
||||
// We can't check the ALTSOURCE flag because the PSXCLOCK source *should*
|
||||
// be counted here.
|
||||
|
||||
if( psxCounters[i].mode & (IOPCNT_STOPPED | IOPCNT_ENABLE_GATE) ) continue;
|
||||
if( psxCounters[i].mode & IOPCNT_STOPPED ) continue;
|
||||
if( psxCounters[i].rate == PSXHBLANK ) continue;
|
||||
if( change <= 0 ) continue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue