diff options
author | Tony Puccinelli | 2010-06-26 04:12:09 +0000 |
---|---|---|
committer | Tony Puccinelli | 2010-06-26 04:12:09 +0000 |
commit | 21f2775458f8ab549bf91212f57bf3f910b08a00 (patch) | |
tree | 085f05032be768217b5d13f9766941eff435f5c2 /backends/plugins/gp2xwiz | |
parent | 231a70ca43e3e48910f7966470a0b963cbe9ff9c (diff) | |
download | scummvm-rg350-21f2775458f8ab549bf91212f57bf3f910b08a00.tar.gz scummvm-rg350-21f2775458f8ab549bf91212f57bf3f910b08a00.tar.bz2 scummvm-rg350-21f2775458f8ab549bf91212f57bf3f910b08a00.zip |
fixed detection of plugin filenames
svn-id: r50304
Diffstat (limited to 'backends/plugins/gp2xwiz')
-rw-r--r-- | backends/plugins/gp2xwiz/gp2xwiz-provider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/plugins/gp2xwiz/gp2xwiz-provider.cpp b/backends/plugins/gp2xwiz/gp2xwiz-provider.cpp index 2219f4275b..859ac8fbc8 100644 --- a/backends/plugins/gp2xwiz/gp2xwiz-provider.cpp +++ b/backends/plugins/gp2xwiz/gp2xwiz-provider.cpp @@ -96,7 +96,7 @@ bool GP2XWIZPluginProvider::isPluginFilename(const Common::FSNode &node) const { // Check the plugin suffix Common::String filename = node.getName(); printf("Testing name %s", filename.c_str()); - if (!filename.hasSuffix(".PLG") && !filename.hasSuffix(".plg")) { + if (!filename.hasSuffix(".PLG") && !filename.hasSuffix(".plg") && !filename.hasSuffix(".PLUGIN") && !filename.hasSuffix(".plugin")) { printf(" fail.\n"); return false; } |