diff options
-rw-r--r-- | engines/kyra/resource.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/kyra/resource.cpp b/engines/kyra/resource.cpp index b011ed3e7c..fd6e8cab2b 100644 --- a/engines/kyra/resource.cpp +++ b/engines/kyra/resource.cpp @@ -71,7 +71,9 @@ Resource::Resource(KyraEngine *engine) { } for (FSList::const_iterator file = fslist.begin(); file != fslist.end(); ++file) { - if (file->displayName().hasSuffix("PAK") || file->displayName().hasSuffix("APK")) { + Common::String filename = file->displayName(); + filename.toUppercase(); + if (filename.hasSuffix("PAK") || filename.hasSuffix("APK")) { if (!loadPakFile(file->displayName())) { error("couldn't open pakfile '%s'", file->displayName().c_str()); } |