GPU: Add a Force Progressive Scan option (disable interlacing)

This commit is contained in:
Connor McLaughlin
2019-12-10 22:52:46 +10:00
parent fb0aad0917
commit df6e079920
8 changed files with 29 additions and 16 deletions

View File

@ -296,6 +296,9 @@ protected:
// Updates dynamic bits in GPUSTAT (ready to send VRAM/ready to receive DMA)
void UpdateGPUSTAT();
/// Returns true if scanout should be interlaced.
bool IsDisplayInterlaced() const { return !m_force_progressive_scan && m_GPUSTAT.In480iMode(); }
u32 ReadGPUREAD();
void WriteGP0(u32 value);
void WriteGP1(u32 value);
@ -436,6 +439,7 @@ protected:
bool m_drawing_area_changed = false;
bool m_drawing_offset_changed = false;
bool m_force_progressive_scan = false;
struct CRTCState
{