c64 - another savestate fix
This commit is contained in:
parent
39797513b2
commit
7f45b4880f
|
@ -218,7 +218,10 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64.MOS
|
||||||
|
|
||||||
public void SyncState(Serializer ser)
|
public void SyncState(Serializer ser)
|
||||||
{
|
{
|
||||||
|
ser.BeginSection("Chip6510Cpu");
|
||||||
_cpu.SyncState(ser);
|
_cpu.SyncState(ser);
|
||||||
|
ser.EndSection();
|
||||||
|
|
||||||
ser.Sync("_pinNmiLast", ref _pinNmiLast);
|
ser.Sync("_pinNmiLast", ref _pinNmiLast);
|
||||||
|
|
||||||
ser.BeginSection("_port");
|
ser.BeginSection("_port");
|
||||||
|
|
|
@ -89,7 +89,7 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64.Serial
|
||||||
ser.Sync("SystemCpuClockNumerator", ref _cpuClockNum);
|
ser.Sync("SystemCpuClockNumerator", ref _cpuClockNum);
|
||||||
ser.Sync("SystemDriveCpuRatioDifference", ref _ratioDifference);
|
ser.Sync("SystemDriveCpuRatioDifference", ref _ratioDifference);
|
||||||
ser.Sync("DriveLightOffTime", ref _driveLightOffTime);
|
ser.Sync("DriveLightOffTime", ref _driveLightOffTime);
|
||||||
ser.Sync("TrackImageData", ref _trackImageData[1]);
|
ser.Sync("TrackImageData", ref _trackImageData, useNull: false);
|
||||||
|
|
||||||
ser.Sync("DiskDensityCounter", ref _diskDensityCounter);
|
ser.Sync("DiskDensityCounter", ref _diskDensityCounter);
|
||||||
ser.Sync("DiskSupplementaryCounter", ref _diskSupplementaryCounter);
|
ser.Sync("DiskSupplementaryCounter", ref _diskSupplementaryCounter);
|
||||||
|
|
Loading…
Reference in New Issue