Atari 2600 - put difficulty toggle variables into savestates

This commit is contained in:
adelikat 2016-11-26 16:10:27 -06:00
parent 323b2c4c8d
commit c61fd757f2
1 changed files with 5 additions and 0 deletions

View File

@ -50,6 +50,11 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
ser.Sync("Frame", ref _frame);
ser.Sync("IsLag", ref _islag);
ser.Sync("frameStartPending", ref _frameStartPending);
ser.Sync("leftDifficultySwitchPressed", ref _leftDifficultySwitchPressed);
ser.Sync("rightDifficultySwitchPressed", ref _rightDifficultySwitchPressed);
ser.Sync("leftDifficultySwitchHeld", ref _leftDifficultySwitchHeld);
ser.Sync("rightDifficultySwitchHeld", ref _rightDifficultySwitchHeld);
_tia.SyncState(ser);
M6532.SyncState(ser);
ser.BeginSection("Mapper");