Beispiel #1
0
        public void WriteAreaData(
            int address,
            IEnumerable <AreaSpriteCommand> data)
        {
            var bytes = new List <byte>(
                AreaSpriteCommand.GetAreaByteData(data));

            bytes.CopyTo(Rom, AreaLoader.SnesLoRomToPc(address));
        }
Beispiel #2
0
        public IEnumerable <AreaSpriteCommand> GetAreaData(int address)
        {
            var index = AreaLoader.SnesLoRomToPc(address);

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