aboutsummaryrefslogtreecommitdiff
path: root/backends/plugins/elf
diff options
context:
space:
mode:
authorYotam Barnoy2010-12-29 15:25:21 +0000
committerYotam Barnoy2010-12-29 15:25:21 +0000
commit8f36a5f887609ab5bf00309412312c563a5bafe9 (patch)
tree1598e371d6530d2d05d17c0126df6a1cf9774c09 /backends/plugins/elf
parent77a6dc70469eac1480263763be450cfe2547dd20 (diff)
downloadscummvm-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/elf')
-rw-r--r--backends/plugins/elf/elf-provider.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/plugins/elf/elf-provider.h b/backends/plugins/elf/elf-provider.h
index fe8346f95e..8cc9e0a996 100644
--- a/backends/plugins/elf/elf-provider.h
+++ b/backends/plugins/elf/elf-provider.h
@@ -48,15 +48,14 @@ protected:
typedef const char *(*CharFunc)();
DLObject *_dlHandle;
- Common::String _filename;
void *_dso_handle;
virtual VoidFunc findSymbol(const char *symbol);
public:
ELFPlugin(const Common::String &filename) :
+ DynamicPlugin(filename),
_dlHandle(0),
- _filename(filename),
_dso_handle(0) {
}