Ejemplo n.º 1
0
        public void WriteAreaData(
            int address,
            IEnumerable <AreaObjectCommand> data)
        {
            var bytes = new List <byte>(
                AreaObjectCommand.GetAreaByteData(data));

            bytes.CopyTo(Rom, NesToPc(address));
        }
Ejemplo n.º 2
0
        public IEnumerable <AreaObjectCommand> GetAreaData(int address)
        {
            var index = NesToPc(address);

            return(AreaObjectCommand.GetAreaData(Rom.Skip(index)));
        }