mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-26 15:50:00 -06:00
* FPS counter displays target framerate
* fix potential hang and out-of-bounds drawing when VCount is modified during drawing
This commit is contained in:
@ -651,8 +651,11 @@ void StartHBlank(u32 line)
|
||||
{
|
||||
// draw
|
||||
// note: this should start 48 cycles after the scanline start
|
||||
GPU2D_A->DrawScanline(line);
|
||||
GPU2D_B->DrawScanline(line);
|
||||
if (line < 192)
|
||||
{
|
||||
GPU2D_A->DrawScanline(line);
|
||||
GPU2D_B->DrawScanline(line);
|
||||
}
|
||||
|
||||
NDS::CheckDMAs(0, 0x02);
|
||||
}
|
||||
|
Reference in New Issue
Block a user