Yeah, I know, skipping 3D frames is nice with the soft rasterizer, but we can't do it until somebody figures out why the 2D/3D synchronization problem happens when doing it. It's so sad :(

This commit is contained in:
luigi__ 2009-04-05 00:03:51 +00:00
parent 1f1507b9ef
commit 7a5ac180de
1 changed files with 4 additions and 1 deletions

View File

@ -1419,6 +1419,7 @@ int NDS_LoadFirmware(const char *filename)
void NDS_Sleep() { nds.sleeping = TRUE; }
bool skipThisFrame = false;
bool skipThisFrame3D = false;
void NDS_SkipFrame(bool skip) { skipThisFrame = skip; }
@ -1570,6 +1571,8 @@ u32 NDS_exec(s32 nb)
GPU_ligne(&SubScreen, nds.VCount);
}
skipThisFrame3D = skipThisFrame;
if(MMU.DMAStartTime[0][0] == 2)
MMU_doDMA<ARMCPU_ARM9>(0);
if(MMU.DMAStartTime[0][1] == 2)
@ -1680,7 +1683,7 @@ u32 NDS_exec(s32 nb)
}
else if(nds.VCount==215)
{
gfx3d_VBlankEndSignal(skipThisFrame);
gfx3d_VBlankEndSignal(false);
}
else if(nds.VCount==263)
{