C64 - I think these are things that need to be in savestates
This commit is contained in:
parent
284ee1f9a2
commit
73cdd0357d
|
@ -357,6 +357,7 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64
|
|||
ser.Sync("_joystickPressed", ref _joystickPressed, useNull: false);
|
||||
ser.Sync("_keyboardPressed", ref _keyboardPressed, useNull: false);
|
||||
ser.Sync("_restorePressed", ref _restorePressed);
|
||||
ser.Sync("_pollIndex", ref _pollIndex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -71,7 +71,9 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64.Serial
|
|||
ser.Sync("LedEnabled", ref _ledEnabled);
|
||||
ser.Sync("MotorStep", ref _motorStep);
|
||||
|
||||
ser.BeginSection("Disk6502");
|
||||
_cpu.SyncState(ser);
|
||||
ser.EndSection();
|
||||
|
||||
ser.Sync("RAM", ref _ram, useNull: false);
|
||||
|
||||
|
@ -86,6 +88,7 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64.Serial
|
|||
ser.Sync("SystemCpuClockNumerator", ref _cpuClockNum);
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue