Intellivision fill out save states

This commit is contained in:
alyosha-tas 2016-12-07 10:56:31 -05:00 committed by GitHub
parent ba149320c5
commit eda1b44238
3 changed files with 18 additions and 2 deletions

View File

@ -51,6 +51,14 @@ namespace BizHawk.Emulation.Cores.Intellivision
ser.Sync("version", ref version);
ser.Sync("Frame", ref _frame);
ser.Sync("ScratchpadRam", ref ScratchpadRam, false);
ser.Sync("SystemRam", ref SystemRam, false);
ser.Sync("ExecutiveRom", ref ExecutiveRom, false);
ser.Sync("GraphicsRom", ref GraphicsRom, false);
ser.Sync("GraphicsRam", ref GraphicsRam, false);
_cpu.SyncState(ser);
_stic.SyncState(ser);
_psg.SyncState(ser);

View File

@ -36,7 +36,9 @@ namespace BizHawk.Emulation.Cores.Intellivision
{
ser.BeginSection("PSG");
// TODO
ser.Sync("Register", ref Register, false);
ser.Sync("Toal_executed_cycles", ref TotalExecutedCycles);
ser.Sync("Pending Cycles", ref PendingCycles);
ser.EndSection();
}

View File

@ -29,7 +29,13 @@ namespace BizHawk.Emulation.Cores.Intellivision
{
ser.BeginSection("STIC");
// TODO
ser.Sync("Sr1", ref Sr1);
ser.Sync("Sr2", ref Sr2);
ser.Sync("Sst", ref Sst);
ser.Sync("Fgbg", ref Fgbg);
ser.Sync("Toal_executed_cycles", ref TotalExecutedCycles);
ser.Sync("Pending Cycles", ref PendingCycles);
ser.Sync("Registers", ref Register, false);
ser.EndSection();
}