fix coleco and oddessy2 text states

This commit is contained in:
adelikat 2020-02-16 13:41:10 -06:00
parent 8a5c3f443b
commit d1266aa82d
2 changed files with 3 additions and 2 deletions

View File

@ -15,9 +15,9 @@ namespace BizHawk.Emulation.Cores.ColecoVision
ms.Close();
core = ms.ToArray();
}
_cpu.SyncState(ser);
ser.BeginSection("Coleco");
_cpu.SyncState(ser);
_vdp.SyncState(ser);
ControllerDeck.SyncState(ser);
PSG.SyncState(ser);

View File

@ -14,12 +14,13 @@ namespace BizHawk.Emulation.Cores.Consoles.O2Hawk
ms.Close();
core = ms.ToArray();
}
ser.BeginSection("Odyssey2");
cpu.SyncState(ser);
mapper.SyncState(ser);
ppu.SyncState(ser);
serialport.SyncState(ser);
ser.BeginSection("Odyssey2");
ser.Sync(nameof(core), ref core, false);
ser.Sync("Lag", ref _lagcount);
ser.Sync("Frame", ref _frame);