NES - Nametable viewer - big speed boost by not repainting the unseen background

This commit is contained in:
adelikat 2012-08-12 02:13:06 +00:00
parent fb3d1a1bd3
commit 57987c0a21
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ namespace BizHawk.MultiClient
SetStyle(ControlStyles.UserPaint, true);
SetStyle(ControlStyles.DoubleBuffer, true);
SetStyle(ControlStyles.SupportsTransparentBackColor, true);
SetStyle(ControlStyles.Opaque, true);
this.Size = new Size(256, 224);
this.BackColor = Color.Transparent;
this.Paint += new System.Windows.Forms.PaintEventHandler(this.NameTableViewer_Paint);