Merge pull request #582 from LegendOfDragoon/Write-to-VI_CURRENT_REG

Write to VI_V_CURRENT_LINE_REG
This commit is contained in:
zilmar 2015-09-02 14:13:29 +10:00
commit 6da72554c7
1 changed files with 1 additions and 0 deletions

View File

@ -3426,6 +3426,7 @@ void CMipsMemoryVM::UpdateHalfLine()
m_HalfLine = (DWORD)(*g_NextTimer / g_System->ViRefreshRate());
m_HalfLine &= ~1;
m_HalfLine |= m_FieldSerration;
g_Reg->VI_V_CURRENT_LINE_REG = m_HalfLine;
m_HalfLineCheck = NextViTimer;
}