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

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

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

--- branches/mono/EmuXPortal/Form1.cs	2019/05/06 02:26:16	395
+++ branches/mono/EmuXPortal/Form1.cs	2019/06/23 23:32:26	396
@@ -999,13 +999,13 @@
 					lock (gameimage_lock) {
 						//gLog.Debug.WriteLine ("handling rom: {0}", config.ToString ());
 						if (String.IsNullOrEmpty (config.RomImage)) {
-							game_ctrl.UpdateGameImage ((Image)DefaultGameImage.Clone ());
+							game_ctrl.UpdateGameImage ((Bitmap)DefaultGameImage);
 						} else {
 							string path = config.isCachedLocally ? config.GetLocalRomImageOverride() : config.GetFullRomImage ();
 							if (File.Exists (path)) {
 								game_ctrl.UpdateGameImage (path);
 							} else {
-								game_ctrl.UpdateGameImage ((Image)DefaultGameImage.Clone ());
+								game_ctrl.UpdateGameImage ((Bitmap)DefaultGameImage);
 							}
 						}
 					}
@@ -1132,13 +1132,13 @@
 					lock (platformimage_lock) {
 						//gLog.Debug.WriteLine ("handling platform: {0}", config.ToString ());
 						if (String.IsNullOrEmpty (config.PlatformImage)) {
-							platform_ctrl.UpdatePlatformImage ((Image)DefaultPlatformImage.Clone ());
+							platform_ctrl.UpdatePlatformImage ((Bitmap)DefaultPlatformImage);
 						} else {
 							string path = config.GetFullPlatformImage ();
 							if (File.Exists (path)) {
 								platform_ctrl.UpdatePlatformImage (path);
 							} else {
-								platform_ctrl.UpdatePlatformImage ((Image)DefaultPlatformImage.Clone ());
+								platform_ctrl.UpdatePlatformImage ((Bitmap)DefaultPlatformImage);
 							}
 						}
 					}

 

  ViewVC Help
Powered by ViewVC 1.1.22