PPU: Fixed regression that caused flickering when fast forwarding

This commit is contained in:
Sour 2019-10-19 16:12:52 -04:00
parent 559f989dce
commit a3829c58fa

View file

@ -395,9 +395,10 @@ bool Ppu::ProcessEndOfScanline(uint16_t hClock)
RenderScanline();
if(_scanline == 0) {
_currentBuffer = _currentBuffer == _outputBuffers[0] ? _outputBuffers[1] : _outputBuffers[0];
_mosaicScanlineCounter = _state.MosaicEnabled ? _state.MosaicSize + 1 : 0;
if(!_skipRender) {
_currentBuffer = _currentBuffer == _outputBuffers[0] ? _outputBuffers[1] : _outputBuffers[0];
//If we're not skipping this frame, reset the high resolution flag
_useHighResOutput = false;
}