mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00
* delay 3D rendering a bit (fixes Monster Trucks flickering)
* remove logging for ITCM/DTCM
This commit is contained in:
13
src/GPU.cpp
13
src/GPU.cpp
@ -617,7 +617,14 @@ void StartHBlank(u32 line)
|
||||
DispStat[0] |= (1<<1);
|
||||
DispStat[1] |= (1<<1);
|
||||
|
||||
if (VCount < 192) NDS::CheckDMAs(0, 0x02);
|
||||
if (VCount < 192)
|
||||
{
|
||||
NDS::CheckDMAs(0, 0x02);
|
||||
}
|
||||
else if (VCount == 215)
|
||||
{
|
||||
GPU3D::VCount215();
|
||||
}
|
||||
|
||||
if (DispStat[0] & (1<<4)) NDS::SetIRQ(0, NDS::IRQ_HBlank);
|
||||
if (DispStat[1] & (1<<4)) NDS::SetIRQ(1, NDS::IRQ_HBlank);
|
||||
@ -725,10 +732,6 @@ void StartScanline(u32 line)
|
||||
{
|
||||
GPU3D::VCount144();
|
||||
}
|
||||
else if (VCount == 215)
|
||||
{
|
||||
GPU3D::VCount215();
|
||||
}
|
||||
}
|
||||
|
||||
NDS::ScheduleEvent(NDS::Event_LCD, true, HBLANK_CYCLES, StartHBlank, line);
|
||||
|
Reference in New Issue
Block a user