Merge pull request #582 from LegendOfDragoon/Write-to-VI_CURRENT_REG
Write to VI_V_CURRENT_LINE_REG
This commit is contained in:
commit
6da72554c7
|
@ -3426,6 +3426,7 @@ void CMipsMemoryVM::UpdateHalfLine()
|
||||||
m_HalfLine = (DWORD)(*g_NextTimer / 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;
|
||||||
|
g_Reg->VI_V_CURRENT_LINE_REG = m_HalfLine;
|
||||||
m_HalfLineCheck = NextViTimer;
|
m_HalfLineCheck = NextViTimer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue