mirror of https://github.com/PCSX2/pcsx2.git
reverted last counters change for now.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@223 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
parent
9bd2fef1a5
commit
2d450531cc
|
@ -67,12 +67,12 @@ void rcntSet() {
|
|||
}
|
||||
|
||||
//Calculate HBlank
|
||||
c = HBLANKCNT(0.5); //counters[4].CycleT - (cpuRegs.cycle - counters[4].sCycleT);
|
||||
c = counters[4].CycleT - (cpuRegs.cycle - counters[4].sCycleT);//HBLANKCNT(0.5);
|
||||
if (c < nextCounter) nextCounter = c;
|
||||
//if(nextCounter > 0x1000) SysPrintf("Nextcounter %x HBlank %x VBlank %x\n", nextCounter, c, counters[5].CycleT - (cpuRegs.cycle - counters[5].sCycleT));
|
||||
|
||||
//Calculate VBlank
|
||||
c = (VBLANKCNT(1) / 2); //counters[5].CycleT - (cpuRegs.cycle - counters[5].sCycleT);
|
||||
c = counters[5].CycleT - (cpuRegs.cycle - counters[5].sCycleT);//(VBLANKCNT(1) / 2);
|
||||
if (c < nextCounter) nextCounter = c;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue