/[EmuXPortal]/trunk/EmuXPortal/Form1.cs
ViewVC logotype

Diff of /trunk/EmuXPortal/Form1.cs

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

--- trunk/EmuXPortal/Form1.cs	2014/08/04 03:27:49	168
+++ trunk/EmuXPortal/Form1.cs	2014/08/04 04:11:41	169
@@ -62,12 +62,12 @@
                 }
                 else
                 {
-                    var isFavorite = RomFavorite.IsFavorite(config);
+                    var isFavorite = RomFavorite.IsFavorite(log, config);
                     if (isFavorite)
                     {
                         // add to favorites
                         log.WriteLine("Removing from favorites: {0} [{1}]", config.RomTitle, config.RomFile);
-                        if (!RomFavorite.RemoveFavorite(config))
+                        if (!RomFavorite.RemoveFavorite(log, config))
                         {
                             log.WriteLine("Failed to remove from favorites: {0} [{1}]", config.RomTitle, config.RomFile);
                         }
@@ -80,7 +80,7 @@
                     {
                         // add to favorites
                         log.WriteLine("Adding to favorites: {0} [{1}]", config.RomTitle, config.RomFile);
-                        if (!RomFavorite.AddFavorite(config))
+                        if (!RomFavorite.AddFavorite(log,config))
                         {
                             log.WriteLine("Failed to add to favorites: {0} [{1}]", config.RomTitle, config.RomFile);
                         }
@@ -90,7 +90,7 @@
                         }
                     }
                     log.WriteLine("Updateing favorites");
-                    if (!RomFavorite.UpdateFavorites())
+                    if (!RomFavorite.UpdateFavorites(log))
                     {
                         log.WriteLine("Failed to update favorites");
                     }

 

  ViewVC Help
Powered by ViewVC 1.1.22