public CartDPC(DeserializationContext input) : base(input)
 {
     input.CheckVersion(1);
     LoadRom(input.ReadExpectedBytes(0x28FF), 0x2800);
     BankBaseAddr     = input.ReadUInt16();
     Tops             = input.ReadExpectedBytes(8);
     Bots             = input.ReadExpectedBytes(8);
     Counters         = input.ReadUnsignedShorts(8);
     Flags            = input.ReadExpectedBytes(8);
     MusicMode        = input.ReadBooleans(3);
     LastSystemClock  = input.ReadUInt64();
     FractionalClocks = input.ReadDouble();
     _ShiftRegister   = input.ReadByte();
 }
Example #2
0
 public CartDPC(DeserializationContext input, MachineBase m) : base(input)
 {
     input.CheckVersion(1);
     LoadRom(input.ReadExpectedBytes(0x2800), 0x2800);
     BankBaseAddr = input.ReadUInt16();
     Tops = input.ReadExpectedBytes(8);
     Bots = input.ReadExpectedBytes(8);
     Counters = input.ReadUnsignedShorts(8);
     Flags = input.ReadExpectedBytes(8);
     MusicMode = input.ReadBooleans(3);
     LastSystemClock = input.ReadUInt64();
     FractionalClocks = input.ReadDouble();
     _ShiftRegister = input.ReadByte();
 }