/[EmuXPortal]/trunk/EmuXPortal/Api/RomFavorite.cs
ViewVC logotype

Diff of /trunk/EmuXPortal/Api/RomFavorite.cs

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

--- trunk/EmuXPortal/Api/RomFavorite.cs	2014/08/04 05:01:23	170
+++ trunk/EmuXPortal/Api/RomFavorite.cs	2014/08/04 05:06:37	171
@@ -72,6 +72,7 @@
         {
             try
             {
+                lst_favorites.Clear();
                 log.WriteLine("Loading Favorites: {0}", ini);
                 FileInfo fi = new FileInfo(ini);
                 if (!fi.Exists)
@@ -96,7 +97,7 @@
                                 // load romfile from config and file
                                 IEmuConfig emu_config = EmuConfigLoader.Load(log, config, "");
                                 var emu_rom = RomLoader.Load(log, rom, emu_config);
-                              
+                                lst_favorites.Add(emu_rom);
                             }                            
                         }
                     }

 

  ViewVC Help
Powered by ViewVC 1.1.22