diff options
Diffstat (limited to 'src/GPU3D.cpp')
-rw-r--r-- | src/GPU3D.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/GPU3D.cpp b/src/GPU3D.cpp index 4d9eca3..4bb56ee 100644 --- a/src/GPU3D.cpp +++ b/src/GPU3D.cpp @@ -1798,7 +1798,12 @@ void CheckFIFODMA() NDS::CheckDMAs(0, 0x07); } +void VCount144() +{ + SoftRenderer::VCount144(); +} +int frame=0; void VBlank() { if (FlushRequest & 0x1) @@ -1828,7 +1833,7 @@ void VBlank() NumPolygons = 0; FlushRequest &= ~0x1; - FlushRequest |= 0x2; + FlushRequest |= 0x2;frame=1; } } @@ -1837,7 +1842,7 @@ void VCount215() // TODO: detect other conditions that could require rerendering // the DS is said to present new 3D frames all the time, even if no commands are sent - if (FlushRequest & 0x2) + //if (FlushRequest & 0x2) { SoftRenderer::RenderFrame(RenderVertexRAM, RenderPolygonRAM, RenderNumPolygons); @@ -1845,6 +1850,11 @@ void VCount215() } } +void RequestLine(int line) +{ + return SoftRenderer::RequestLine(line); +} + u32* GetLine(int line) { return SoftRenderer::GetLine(line); |