only start display capture on first line

fixes Spearpillar in Pokemon D/P/Pt
also fixes #782 and #474
This commit is contained in:
RSDuck
2020-12-09 22:45:16 +01:00
parent b6de3cc638
commit e34ce013df
3 changed files with 10 additions and 2 deletions

View File

@ -581,7 +581,11 @@ void GPU2D::UpdateMosaicCounters(u32 line)
void GPU2D::VBlank()
{
CaptureCnt &= ~(1<<31);
if (CaptureLatch)
{
CaptureCnt &= ~(1<<31);
CaptureLatch = false;
}
DispFIFOReadPtr = 0;
DispFIFOWritePtr = 0;