halflife: should not be fast forward if check is zero (this means it is called twice)

This commit is contained in:
zilmar 2013-01-06 06:53:14 +11:00
parent 3c1040c2d9
commit 720b9c6257
1 changed files with 1 additions and 1 deletions

View File

@ -2506,7 +2506,7 @@ void CMipsMemoryVM::UpdateHalfLine (void)
m_HalfLine &= ~1; m_HalfLine &= ~1;
int check_value = (int)(m_HalfLineCheck - NextViTimer); 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(); *g_NextTimer -= g_System->ViRefreshRate();
if (*g_NextTimer < 0) if (*g_NextTimer < 0)