diff options
Diffstat (limited to 'backends/vkeybd/imageman.cpp')
-rw-r--r-- | backends/vkeybd/imageman.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/vkeybd/imageman.cpp b/backends/vkeybd/imageman.cpp index c4ea35c908..2f68fcb71f 100644 --- a/backends/vkeybd/imageman.cpp +++ b/backends/vkeybd/imageman.cpp @@ -26,6 +26,7 @@ #include "backends/vkeybd/imageman.h" +#include "common/fs.h" #include "common/unzip.h" #include "graphics/imagedec.h" #include "graphics/surface.h" @@ -49,7 +50,7 @@ ImageManager::~ImageManager() { bool ImageManager::addArchive(const Common::String &name) { #ifdef USE_ZLIB - Common::ZipArchive *arch = new Common::ZipArchive(name); + Common::ZipArchive *arch = new Common::ZipArchive(Common::FSNode(name)); if (!arch || !arch->isOpen()) return false; _archives.add(name, arch); |