mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 13:55:38 +00:00
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 a new issue