GPU: Claer interlaced field buffer when enabling
Fixes old frames getting briefly displayed.
This commit is contained in:
@ -974,6 +974,12 @@ void GPU::WriteGP1(u32 value)
|
||||
new_GPUSTAT.reverse_flag = dm.reverse_flag;
|
||||
Log_DebugPrintf("Set display mode <- 0x%08X", dm.bits);
|
||||
|
||||
if (!m_GPUSTAT.vertical_interlace && dm.vertical_interlace && !m_force_progressive_scan)
|
||||
{
|
||||
// bit of a hack, technically we should pull the previous frame in, but this may not exist anymore
|
||||
ClearDisplay();
|
||||
}
|
||||
|
||||
if (m_GPUSTAT.bits != new_GPUSTAT.bits)
|
||||
{
|
||||
// Have to be careful when setting this because Synchronize() can modify GPUSTAT.
|
||||
@ -1069,6 +1075,8 @@ void GPU::HandleGetGPUInfoCommand(u32 value)
|
||||
}
|
||||
}
|
||||
|
||||
void GPU::ClearDisplay() {}
|
||||
|
||||
void GPU::UpdateDisplay() {}
|
||||
|
||||
void GPU::ReadVRAM(u32 x, u32 y, u32 width, u32 height) {}
|
||||
|
||||
Reference in New Issue
Block a user