GPU: Update GPUSTAT.13 with field

Doubt this'll change much..
This commit is contained in:
Connor McLaughlin
2020-08-19 00:02:35 +10:00
parent 67fb9253cb
commit c9c2c00c1a
2 changed files with 7 additions and 1 deletions

View File

@ -759,9 +759,15 @@ void GPU::CRTCTickEvent(TickCount ticks)
// start the new frame
m_crtc_state.current_scanline = 0;
if (m_GPUSTAT.vertical_interlace)
{
m_crtc_state.interlaced_field ^= 1u;
m_GPUSTAT.interlaced_field = m_crtc_state.interlaced_field;
}
else
{
m_crtc_state.interlaced_field = 0;
m_GPUSTAT.interlaced_field = 0u; // new GPU = 1, old GPU = 0
}
}
}