mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-31 11:55:37 +00:00
GPU: Update GPUSTAT.13 with field
Doubt this'll change much..
This commit is contained in:
parent
67fb9253cb
commit
c9c2c00c1a
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -489,7 +489,7 @@ protected:
|
|||
BitField<u32, bool, 10, 1> draw_to_displayed_field;
|
||||
BitField<u32, bool, 11, 1> set_mask_while_drawing;
|
||||
BitField<u32, bool, 12, 1> check_mask_before_draw;
|
||||
BitField<u32, bool, 13, 1> interlaced_field;
|
||||
BitField<u32, u8, 13, 1> interlaced_field;
|
||||
BitField<u32, bool, 14, 1> reverse_flag;
|
||||
BitField<u32, bool, 15, 1> texture_disable;
|
||||
BitField<u32, u8, 16, 1> horizontal_resolution_2;
|
||||
|
|
Loading…
Reference in a new issue