Fix CPU::StreamState extraScanlinesAfterNmi argument
Previously the CPU::StreamState function passed the extraScanlinesBeforeNmi value twice to Stream(). Change the second argument to extraScanlinesAfterNmi instead.
This commit is contained in:
parent
c252d1cff8
commit
813aabb04a
1 changed files with 2 additions and 2 deletions
|
@ -476,7 +476,7 @@ void CPU::StreamState(bool saving)
|
||||||
|
|
||||||
Stream(_state.PC, _state.SP, _state.PS, _state.A, _state.X, _state.Y, _cycleCount, _state.NMIFlag,
|
Stream(_state.PC, _state.SP, _state.PS, _state.A, _state.X, _state.Y, _cycleCount, _state.NMIFlag,
|
||||||
_state.IRQFlag, _dmcDmaRunning, _spriteDmaTransfer,
|
_state.IRQFlag, _dmcDmaRunning, _spriteDmaTransfer,
|
||||||
extraScanlinesBeforeNmi, extraScanlinesBeforeNmi, dipSwitches,
|
extraScanlinesBeforeNmi, extraScanlinesAfterNmi, dipSwitches,
|
||||||
_needDummyRead, _needHalt, _startClockCount, _endClockCount, _ppuOffset, _masterClock,
|
_needDummyRead, _needHalt, _startClockCount, _endClockCount, _ppuOffset, _masterClock,
|
||||||
_prevNeedNmi, _prevNmiFlag, _needNmi);
|
_prevNeedNmi, _prevNmiFlag, _needNmi);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue