From 6d11f46b15f9f69fd6c36c26b672b3f5b91f2142 Mon Sep 17 00:00:00 2001 From: Eric Culp Date: Tue, 12 Jun 2012 15:03:51 -0400 Subject: BASE: Only reload engine plugins after return to launcher The other plugins do not need to be reloaded. Reloading the scaler plugins breaks the graphics. --- base/plugins.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'base/plugins.h') diff --git a/base/plugins.h b/base/plugins.h index bfeb68ae2d..1daa426202 100644 --- a/base/plugins.h +++ b/base/plugins.h @@ -320,6 +320,7 @@ public: // Functions used only by the cached PluginManager virtual void loadAllPlugins(); + virtual void loadAllPluginsOfType(PluginType type); void unloadAllPlugins(); void unloadPluginsExcept(PluginType type, const Plugin *plugin, bool deletePlugin = true); @@ -347,7 +348,8 @@ public: virtual bool loadPluginFromGameId(const Common::String &gameId); virtual void updateConfigWithFileName(const Common::String &gameId); - virtual void loadAllPlugins() {} // we don't allow this + virtual void loadAllPlugins() {} // we don't allow these + virtual void loadAllPluginsOfType(PluginType type) {} }; #endif -- cgit v1.2.3