/[EmuXPortal]/branches/mono/EmuXPortal/Api/RomFavorite.cs
ViewVC logotype

Diff of /branches/mono/EmuXPortal/Api/RomFavorite.cs

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

--- branches/mono/EmuXPortal/Api/RomFavorite.cs	2016/04/28 03:00:55	282
+++ branches/mono/EmuXPortal/Api/RomFavorite.cs	2016/08/17 01:24:40	283
@@ -78,18 +78,18 @@
             foreach (var rom in lst_favorites)
             {
                 IRomConfig rom_config = rom.RomConfig;
-                try
-                {
-                    if (rom_config != null && rom_config.RomImage != null)
-                    {
-                        var format = rom_config.RomImage.RawFormat;
-                    }
-                }
-                catch (ArgumentException)
-                {
-                    var emu_config = EmuConfigLoader.Load(rom.RomConfig.Config.ConfigPath, rom.RomConfig.Config.EmuRomPath);
-                    rom_config = RomLoader.Load(rom.RomConfig.RomFile, emu_config);
-                }                                            
+//                try
+//                {
+//                    if (rom_config != null && rom_config.RomImage != null)
+//                    {
+//                        //var format = rom_config.RomImage.RawFormat;
+//                    }
+//                }
+//                catch (ArgumentException)
+//                {
+//                    var emu_config = EmuConfigLoader.Load(rom.RomConfig.Config.ConfigPath, rom.RomConfig.Config.EmuRomPath);
+//                    rom_config = RomLoader.Load(rom.RomConfig.RomFile, emu_config);
+//                }                                            
                 roms.Add(rom_config);
             }
 

 

  ViewVC Help
Powered by ViewVC 1.1.22