c64 - add another variable to savestates

This commit is contained in:
adelikat 2017-05-27 14:13:51 -05:00
parent 73cdd0357d
commit 39797513b2
2 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,7 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64
default:
throw new System.Exception();
}
CartPort = new CartridgePort();
Cassette = new CassettePort();
ColorRam = new Chip2114();

View File

@ -65,6 +65,7 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64.Serial
ser.Sync("BitHistory", ref _bitHistory);
ser.Sync("BitsRemainingInLatchedByte", ref _bitsRemainingInLatchedByte);
ser.Sync("Sync", ref _sync);
ser.Sync("ByteReady", ref _byteReady);
ser.Sync("DriveCpuClockNumerator", ref _driveCpuClockNum);
ser.Sync("TrackNumber", ref _trackNumber);
ser.Sync("MotorEnabled", ref _motorEnabled);
@ -89,6 +90,7 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64.Serial
ser.Sync("SystemDriveCpuRatioDifference", ref _ratioDifference);
ser.Sync("DriveLightOffTime", ref _driveLightOffTime);
ser.Sync("TrackImageData", ref _trackImageData[1]);
ser.Sync("DiskDensityCounter", ref _diskDensityCounter);
ser.Sync("DiskSupplementaryCounter", ref _diskSupplementaryCounter);
ser.Sync("DiskFluxReversalDetected", ref _diskFluxReversalDetected);