approximate rdlines_count; implement underflow flag

This commit is contained in:
Jaklyy
2024-02-25 22:41:33 -05:00
parent 9219a084c4
commit 9ffa04dfbc
4 changed files with 74 additions and 51 deletions

View File

@ -1041,6 +1041,10 @@ void GPU::StartScanline(u32 line) noexcept
if (GPU3D.IsRendererAccelerated())
GPU3D.Blit(*this);
}
else if (VCount == 183)
{
GPU3D.DispCnt |= GPU3D.RDLinesUnderflow << 12;
}
}
NDS.ScheduleEvent(Event_LCD, true, HBLANK_CYCLES, LCD_StartHBlank, line);