GPU: Correct value of ODE bit in vblank
Fixes line streaks in Dead or Alive.
This commit is contained in:
parent
3303523463
commit
88618bde1c
|
@ -899,7 +899,7 @@ void GPU::CRTCTickEvent(TickCount ticks)
|
|||
m_crtc_state.active_line_lsb =
|
||||
Truncate8((m_crtc_state.regs.Y + BoolToUInt32(m_crtc_state.interlaced_display_field)) & u32(1));
|
||||
m_GPUSTAT.display_line_lsb = ConvertToBoolUnchecked(
|
||||
(m_crtc_state.regs.Y + (BoolToUInt8(m_crtc_state.in_vblank) ^ m_crtc_state.interlaced_display_field)) & u32(1));
|
||||
(m_crtc_state.regs.Y + (BoolToUInt8(!m_crtc_state.in_vblank) & m_crtc_state.interlaced_display_field)) & u32(1));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue