PPU: Fixed regression that caused flickering when fast forwarding
This commit is contained in:
parent
559f989dce
commit
a3829c58fa
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue