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.
This commit is contained in:
parent
36b4926eb1
commit
6d11f46b15
3 changed files with 28 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue