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(); }
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(); }