GPU: Don't use field offset for ODE in vblank

This commit is contained in:
Connor McLaughlin 2020-05-11 22:26:10 +10:00
parent 2bc1c67236
commit 65c42cd30e
1 changed files with 2 additions and 2 deletions

View File

@ -704,8 +704,8 @@ void GPU::Execute(TickCount ticks)
// alternating even line bit in 240-line mode
if (m_GPUSTAT.In480iMode())
{
m_GPUSTAT.displaying_odd_line =
ConvertToBoolUnchecked((m_crtc_state.regs.Y + BoolToUInt32(m_GPUSTAT.interlaced_field)) & u32(1));
m_GPUSTAT.displaying_odd_line = ConvertToBoolUnchecked(
(m_crtc_state.regs.Y + BoolToUInt32(m_GPUSTAT.interlaced_field && !m_crtc_state.in_vblank)) & u32(1));
}
else
{