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:
refraction 2009-06-18 04:03:27 +00:00
parent df2b0365ad
commit c7d2a3933c
1 changed files with 2 additions and 2 deletions

View File

@ -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;