From 4390e0a9224b394d50f26aa2082eb1b8a385df03 Mon Sep 17 00:00:00 2001 From: cottonvibes Date: Mon, 27 Oct 2008 06:40:58 +0000 Subject: [PATCH] forgot to change this... git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@241 a6443dda-0b58-4228-96e9-037be469359c --- pcsx2/Counters.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pcsx2/Counters.c b/pcsx2/Counters.c index b97fe2286f..8b57433101 100644 --- a/pcsx2/Counters.c +++ b/pcsx2/Counters.c @@ -140,7 +140,6 @@ u64 GetCPUTicks() 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].sCycle = cpuRegs.cycle; // Update Counter 4's Start Cycle to match CPU's cycle @@ -427,7 +426,7 @@ void vSync() { hScanline(); - if ((cpuRegs.cycle - counters[5].sCycle) >= (VSYNC_ / 2)) { + if ((cpuRegs.cycle - counters[5].sCycle) >= (VSYNC_HALF_)) { if (counters[5].mode == MODE_VSYNC) { VSyncEnd(); counters[5].mode = MODE_VRENDER;