/[EmuXPortal]/branches/mono/EmuXPortal/GameControl.cs
ViewVC logotype

Diff of /branches/mono/EmuXPortal/GameControl.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- branches/mono/EmuXPortal/GameControl.cs	2019/05/06 02:26:16	395
+++ branches/mono/EmuXPortal/GameControl.cs	2019/06/23 23:32:26	396
@@ -37,9 +37,9 @@
 			InitializeComponent ();
 			gameImage.SizeMode = PictureBoxSizeMode.StretchImage;
 		}
-		public void UpdateGameImage (Image img)
+		public void UpdateGameImage (Bitmap img)
 		{
-			this.GameImage = img;
+			this.gameImage.Image = img;
 		}
 		public void UpdateGameImage (string filename)
 		{
@@ -48,7 +48,7 @@
 				this.UpdateGameImage (new Bitmap (bmpTemp));
 			}
 		}
-		private Image GameImage {
+		/*private Image GameImage {
 			get {
 				lock (image_lock) {
 					return gameImage.Image;
@@ -59,7 +59,7 @@
 					gameImage.Image = value;
 				}
 			}
-		}
+		}*/
 		public string GameName { get { return gameName.Text; } set { gameName.Text = value; Application.DoEvents (); } }
 		private void GameControl_Load (object sender, EventArgs e)
 		{

 

  ViewVC Help
Powered by ViewVC 1.1.22