コード例 #1
0
        public Ppu(NesEngine theEngine)
        {
            myEngine = theEngine;

            nameTables = new byte[0x2000];
            spriteRam  = new byte[0x100];
            //offscreenBuffer = new int[256 * 240];
            offScreenBuffer = new short[256 * 240];
            sprite0Buffer   = new int[256];
            myVideo         = new VideoNes(this);
            RestartPpu();
        }
コード例 #2
0
ファイル: Ppu.cs プロジェクト: erin100280/Zelda.NET
        public Ppu(NesEngine theEngine)
        {
            myEngine = theEngine;

            nameTables = new byte[0x2000];
            spriteRam = new byte[0x100];
            //offscreenBuffer = new int[256 * 240];
            offScreenBuffer = new short[256 * 240];
            sprite0Buffer = new int[256];
            myVideo = new VideoNes(this);
            RestartPpu();
        }