forgot to change this...

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@241 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
cottonvibes 2008-10-27 06:40:58 +00:00 committed by Gregory Hainaut
parent 86c35c57b0
commit 4390e0a922
1 changed files with 1 additions and 2 deletions

View File

@ -140,7 +140,6 @@ u64 GetCPUTicks()
void UpdateVSyncRate() { void UpdateVSyncRate() {
counters[4].count = 0; // Set number of scanlines/hblanks to zero
counters[4].mode = MODE_HRENDER; // Counter 4 takes care of scanlines, so set the mode to HRENDER (drawing part of scanline) counters[4].mode = MODE_HRENDER; // Counter 4 takes care of scanlines, so set the mode to HRENDER (drawing part of scanline)
counters[4].sCycle = cpuRegs.cycle; // Update Counter 4's Start Cycle to match CPU's cycle counters[4].sCycle = cpuRegs.cycle; // Update Counter 4's Start Cycle to match CPU's cycle
@ -427,7 +426,7 @@ void vSync()
{ {
hScanline(); hScanline();
if ((cpuRegs.cycle - counters[5].sCycle) >= (VSYNC_ / 2)) { if ((cpuRegs.cycle - counters[5].sCycle) >= (VSYNC_HALF_)) {
if (counters[5].mode == MODE_VSYNC) { if (counters[5].mode == MODE_VSYNC) {
VSyncEnd(); VSyncEnd();
counters[5].mode = MODE_VRENDER; counters[5].mode = MODE_VRENDER;