Esempio n. 1
0
 internal void LoadState(BinaryReader bin)
 {
     board.LoadState(bin);
     bin.Read(WRAM, 0, this.WRAM.Length);
     bin.Read(palettes_bank, 0, palettes_bank.Length);
     bin.Read(oam_ram, 0, oam_ram.Length);
     bin.Read(oam_secondary, 0, oam_secondary.Length);
     BUS_ADDRESS = bin.ReadInt32();
     BUS_RW      = bin.ReadBoolean();
     BUS_RW_P    = bin.ReadBoolean();
     temp_4015   = bin.ReadByte();
     temp_4016   = bin.ReadByte();
     temp_4017   = bin.ReadByte();
 }