Пример #1
0
        private Xy GetXy(int offset, int desl, int multi = 1)
        {
            offset -= 0x8010;
            var ppu = new Ppu(TvFormat.Ntsc, new PaletteFormat(), null);

            var w = 128 * multi;

            return(new Xy
            {
                X = ppu.GetX(offset, desl, multi),
                Y = ppu.GetY(offset, w, multi)
            });
        }