GetY() public method

public GetY ( int offset, int w, int multi ) : int
offset int
w int
multi int
return int
Esempio n. 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)
                       };
        }