aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/compression.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/compression.cpp')
-rw-r--r--engines/mads/compression.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/mads/compression.cpp b/engines/mads/compression.cpp
index f8df5a5e43..b5e24dfc5e 100644
--- a/engines/mads/compression.cpp
+++ b/engines/mads/compression.cpp
@@ -25,6 +25,8 @@
namespace MADS {
const char *const madsPackString = "MADSPACK";
+const char *const FabInputExceededError = "FabDecompressor - Passed end of input buffer during decompression";
+const char *const FabOutputExceededError = "FabDecompressor - Decompressed data exceeded specified size";
bool MadsPack::isCompressed(Common::SeekableReadStream *stream) {
// Check whether the passed stream is packed
@@ -94,9 +96,6 @@ MadsPack::~MadsPack() {
//--------------------------------------------------------------------------
-const char *FabInputExceededError = "FabDecompressor - Passed end of input buffer during decompression";
-const char *FabOutputExceededError = "FabDecompressor - Decompressed data exceeded specified size";
-
void FabDecompressor::decompress(const byte *srcData, int srcSize, byte *destData, int destSize) {
byte copyLen, copyOfsShift, copyOfsMask, copyLenMask;
unsigned long copyOfs;