mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 05:17:40 -07:00
fix a bug i introduced, also fix one i didn't
This commit is contained in:
parent
75956b43c4
commit
a51747b253
@ -182,6 +182,8 @@ void GPU3D::ResetRenderingState() noexcept
|
||||
|
||||
RenderClearAttr1 = 0x3F000000;
|
||||
RenderClearAttr2 = 0x00007FFF;
|
||||
|
||||
RenderFrameIdentical = false;
|
||||
}
|
||||
|
||||
void GPU3D::Reset() noexcept
|
||||
|
@ -2064,7 +2064,10 @@ void SoftRenderer::RenderThreadFunc(GPU& gpu)
|
||||
if (gpu.GPU3D.RenderNumPolygons > 0)
|
||||
RenderPolygons(gpu, &gpu.GPU3D.RenderPolygonRAM[0], gpu.GPU3D.RenderNumPolygons);
|
||||
else
|
||||
{
|
||||
memcpy(FinalBuffer, ColorBuffer, sizeof(FinalBuffer));
|
||||
Platform::Semaphore_Post(Sema_ScanlineCount, 192);
|
||||
}
|
||||
}
|
||||
|
||||
// Tell the main thread that we're done rendering
|
||||
|
Loading…
Reference in New Issue
Block a user