protected override void Draw(GameTime gameTime) { if (!cpu.DrawFlag) { return; } GraphicsDevice.Clear(Color.Black); Render.Begin(); for (int x = 0; x < 64; x++) { for (int y = 0; y < 32; y++) { if (cpu.Get(x, y)) { Render.Rect(new Vector2(x * scale, y * scale), scale, scale, Color.White); } } } Render.End(); base.Draw(gameTime); }