From 720b9c6257bb5ebc6ff4fcdf4b90c95a95642a76 Mon Sep 17 00:00:00 2001 From: zilmar Date: Sun, 6 Jan 2013 06:53:14 +1100 Subject: [PATCH] halflife: should not be fast forward if check is zero (this means it is called twice) --- Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp b/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp index af2a7dd2c..b78bc38d8 100644 --- a/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp +++ b/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp @@ -2506,7 +2506,7 @@ void CMipsMemoryVM::UpdateHalfLine (void) m_HalfLine &= ~1; int check_value = (int)(m_HalfLineCheck - NextViTimer); - if (check_value >= 0 && check_value < 40) + if (check_value > 0 && check_value < 40) { *g_NextTimer -= g_System->ViRefreshRate(); if (*g_NextTimer < 0)