diff options
author | Yotam Barnoy | 2010-12-29 15:25:21 +0000 |
---|---|---|
committer | Yotam Barnoy | 2010-12-29 15:25:21 +0000 |
commit | 8f36a5f887609ab5bf00309412312c563a5bafe9 (patch) | |
tree | 1598e371d6530d2d05d17c0126df6a1cf9774c09 /backends/plugins/dc | |
parent | 77a6dc70469eac1480263763be450cfe2547dd20 (diff) | |
download | scummvm-rg350-8f36a5f887609ab5bf00309412312c563a5bafe9.tar.gz scummvm-rg350-8f36a5f887609ab5bf00309412312c563a5bafe9.tar.bz2 scummvm-rg350-8f36a5f887609ab5bf00309412312c563a5bafe9.zip |
PLUGINS: single plugin model now saves plugin filename to config file
After searching for the right plugin once, the filename will be saved to the config file under the domain 'plugin_files'. The key is the gameid and the value is the plugin file. The backup mechanism is searching plugin by plugin.
svn-id: r55061
Diffstat (limited to 'backends/plugins/dc')
-rw-r--r-- | backends/plugins/dc/dc-provider.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/plugins/dc/dc-provider.cpp b/backends/plugins/dc/dc-provider.cpp index 67877dc9f4..86ef68828c 100644 --- a/backends/plugins/dc/dc-provider.cpp +++ b/backends/plugins/dc/dc-provider.cpp @@ -37,7 +37,6 @@ class DCPlugin : public DynamicPlugin { protected: void *_dlHandle; - Common::String _filename; virtual VoidFunc findSymbol(const char *symbol) { void *func = dlsym(_dlHandle, symbol); @@ -56,7 +55,7 @@ protected: public: DCPlugin(const Common::String &filename) - : _dlHandle(0), _filename(filename) {} + : DynamicPlugin(filename), _dlHandle(0) {} bool loadPlugin() { assert(!_dlHandle); |