halflife: should not be fast forward if check is zero (this means it is called twice)
This commit is contained in:
parent
3c1040c2d9
commit
720b9c6257
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue