GPU: Claer interlaced field buffer when enabling
Fixes old frames getting briefly displayed.
This commit is contained in:
parent
23df239469
commit
818892cb1b
10 changed files with 51 additions and 0 deletions
|
|
@ -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) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue