mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00
only start display capture on first line
fixes Spearpillar in Pokemon D/P/Pt also fixes #782 and #474
This commit is contained in:
@ -213,6 +213,9 @@ void GPU2D_Soft::DrawScanline(u32 line)
|
||||
}
|
||||
}
|
||||
|
||||
if (line == 0 && CaptureCnt & (1 << 31))
|
||||
CaptureLatch = true;
|
||||
|
||||
// always render regular graphics
|
||||
DrawScanline_BGOBJ(line);
|
||||
UpdateMosaicCounters(line);
|
||||
@ -278,7 +281,7 @@ void GPU2D_Soft::DrawScanline(u32 line)
|
||||
}
|
||||
|
||||
// capture
|
||||
if ((Num == 0) && (CaptureCnt & (1<<31)))
|
||||
if ((Num == 0) && CaptureLatch)
|
||||
{
|
||||
u32 capwidth, capheight;
|
||||
switch ((CaptureCnt >> 20) & 0x3)
|
||||
|
Reference in New Issue
Block a user