Permalink
Browse files

GPU: Fix graphical glitch that can occur when frameskip is enabled, r…

…unning a custom resolution on a multicore CPU system. (Regression from commit abc0649.)
  • Loading branch information...
rogerman committed Jan 11, 2019
1 parent 605ce35 commit f5d90a77c1dfa1aca3e0a546aa93105f28de5cbc
Showing with 5 additions and 2 deletions.
  1. +5 −2 desmume/src/GPU.cpp
@@ -9653,8 +9653,11 @@ void GPUSubsystem::RenderLine(const size_t l)
}
}

this->_engineMain->UpdateRenderStates<OUTPUTFORMAT>(l);
this->_engineSub->UpdateRenderStates<OUTPUTFORMAT>(l);
if (!this->_willFrameSkip)
{
this->_engineMain->UpdateRenderStates<OUTPUTFORMAT>(l);
this->_engineSub->UpdateRenderStates<OUTPUTFORMAT>(l);
}

if ( (isFramebufferRenderNeeded[GPUEngineID_Main] || isDisplayCaptureNeeded) && !this->_willFrameSkip )
{

0 comments on commit f5d90a7

Please sign in to comment.