Merge pull request #545 from Nekokabu/patch-2

Heiwa Pachinko World 64 (J) freeze fix
This commit is contained in:
zilmar 2015-07-27 11:14:09 +10:00
commit 0a910ad24c
1 changed files with 1 additions and 1 deletions

View File

@ -3411,7 +3411,7 @@ void CMipsMemoryVM::UpdateHalfLine()
g_SystemTimer->UpdateTimers(); g_SystemTimer->UpdateTimers();
NextViTimer = g_SystemTimer->GetTimer(CSystemTimer::ViTimer); NextViTimer = g_SystemTimer->GetTimer(CSystemTimer::ViTimer);
} }
m_HalfLine = (DWORD)(NextViTimer / g_System->ViRefreshRate()); m_HalfLine = (DWORD)(*g_NextTimer / g_System->ViRefreshRate());
m_HalfLine &= ~1; m_HalfLine &= ~1;
m_HalfLine |= m_FieldSerration; m_HalfLine |= m_FieldSerration;
m_HalfLineCheck = NextViTimer; m_HalfLineCheck = NextViTimer;