Minor changes for video. Please test pictograph quests in Wind Waker.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3818 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Nolan Check
2009-07-16 22:45:18 +00:00
parent 18e45baafc
commit 598d640042
3 changed files with 26 additions and 21 deletions

View File

@ -1159,14 +1159,9 @@ void Update()
// TODO: What's the correct behavior for progressive mode?
for (int i = 0; i < 4; ++i)
{
if (m_InterruptRegister[i].VCT == m_VBeamPos)
{
m_InterruptRegister[i].IR_INT = 1;
UpdateInterrupts();
}
}
m_VBeamPos++;
if (m_VBeamPos > s_lineCount)
m_VBeamPos = 1;
if (m_VBeamPos == s_upperFieldBegin)
BeginField(m_DisplayControlRegister.NIN ? FIELD_PROGRESSIVE : FIELD_UPPER);
@ -1180,9 +1175,14 @@ void Update()
if (m_VBeamPos == s_lowerFieldEnd)
EndField();
m_VBeamPos++;
if (m_VBeamPos > s_lineCount)
m_VBeamPos = 1;
for (int i = 0; i < 4; ++i)
{
if (m_InterruptRegister[i].VCT == m_VBeamPos)
{
m_InterruptRegister[i].IR_INT = 1;
UpdateInterrupts();
}
}
}
} // namespace