aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWon Star2006-03-23 02:48:53 +0000
committerWon Star2006-03-23 02:48:53 +0000
commitaad9a340bec73420bce59f87938e2b65147377ab (patch)
tree5d8a5b6edea351cdf279d7d83e3de80b94d4af3d
parenta8c0079924053cc349c53f9c0e448daf2d1a2557 (diff)
downloadscummvm-rg350-aad9a340bec73420bce59f87938e2b65147377ab.tar.gz
scummvm-rg350-aad9a340bec73420bce59f87938e2b65147377ab.tar.bz2
scummvm-rg350-aad9a340bec73420bce59f87938e2b65147377ab.zip
Fix compile without ZLIB support (GP32).
svn-id: r21408
-rw-r--r--engines/simon/simon.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/simon/simon.cpp b/engines/simon/simon.cpp
index 5fb3ade72c..93bde5bbab 100644
--- a/engines/simon/simon.cpp
+++ b/engines/simon/simon.cpp
@@ -3734,10 +3734,11 @@ byte *SimonEngine::read_vga_from_datfile_2(uint id, uint type) {
error("read_vga_from_datfile_2: read failed");
}
in.close();
+ return dst;
#else
error("Zlib support is required for Amiga and Macintosh versions");
+ return NULL;
#endif
- return dst;
} else if (getFeatures() & GF_OLD_BUNDLE) {
File in;
char buf[15];