/[RomCheater]/trunk/RomCheater.PluginFramework/Core/PluginLoader.cs
ViewVC logotype

Diff of /trunk/RomCheater.PluginFramework/Core/PluginLoader.cs

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

--- trunk/RomCheater.PluginFramework/Core/PluginLoader.cs	2013/05/28 18:08:23	437
+++ trunk/RomCheater.PluginFramework/Core/PluginLoader.cs	2013/06/17 05:42:02	675
@@ -44,6 +44,9 @@
                 if (!silent)
                     logger.Debug.WriteLine("Plugins Path: {0}", PluginPath);
                 List<string> dlls = new List<string>(Directory.GetFiles(PluginPath, "*.dll"));
+                // also load any default plugins from the framework
+                dlls.Add(typeof(PluginLoader).Assembly.Location);
+
                 if (!silent)
                     logger.Debug.WriteLine("  Found: {0} plugin dlls", dlls.Count);
                 foreach (string dll in dlls)
@@ -57,6 +60,8 @@
                     GetUserControlPluginsFromDll(fi);
                 }
 
+                
+
                 if (!silent)
                     logger.Info.WriteLine("  Loaded {0} config plugins", LoadedConfigPlugins.Count);
                 if (!silent)

 

  ViewVC Help
Powered by ViewVC 1.1.22