diff options
author | Eric Culp | 2012-06-12 15:03:51 -0400 |
---|---|---|
committer | Filippos Karapetis | 2019-03-10 03:49:29 +0200 |
commit | 6d11f46b15f9f69fd6c36c26b672b3f5b91f2142 (patch) | |
tree | 5686aeab1788aa99356fc702f9920e3fff27ea86 /base/plugins.h | |
parent | 36b4926eb156f00fa7365ece4e2352a8ddd8cd63 (diff) | |
download | scummvm-rg350-6d11f46b15f9f69fd6c36c26b672b3f5b91f2142.tar.gz scummvm-rg350-6d11f46b15f9f69fd6c36c26b672b3f5b91f2142.tar.bz2 scummvm-rg350-6d11f46b15f9f69fd6c36c26b672b3f5b91f2142.zip |
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.
Diffstat (limited to 'base/plugins.h')
-rw-r--r-- | base/plugins.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |