GPU: Claer interlaced field buffer when enabling

Fixes old frames getting briefly displayed.
This commit is contained in:
Connor McLaughlin
2020-08-03 03:26:11 +10:00
parent 23df239469
commit 818892cb1b
10 changed files with 51 additions and 0 deletions

View File

@ -142,6 +142,11 @@ void GPU_SW::CopyOut24Bit(u32 src_x, u32 src_y, u32* dst_ptr, u32 dst_stride, u3
}
}
void GPU_SW::ClearDisplay()
{
std::memset(m_display_texture_buffer.data(), 0, sizeof(u32) * m_display_texture_buffer.size());
}
void GPU_SW::UpdateDisplay()
{
// fill display texture