public Render(int width, int height, string title, GFXMemory vram, Chip8 chip) : base(width, height, GraphicsMode.Default, title) { this.vram = vram; this.chip = chip; vertices = new double[24576]; InitVertices(); }
static void Main(string[] args) { GFXMemory vram = new GFXMemory(); Chip8 chip = new Chip8(vram); chip.Init(); chip.Load(@"C:\Users\Sergio\Downloads\Blinky.ch8"); Render win = new Render(1200, 600, "Test", vram, chip); win.Run(200); }