aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/groovie/lzss.cpp4
-rw-r--r--engines/groovie/lzss.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/engines/groovie/lzss.cpp b/engines/groovie/lzss.cpp
index 750625d70d..889a12bd12 100644
--- a/engines/groovie/lzss.cpp
+++ b/engines/groovie/lzss.cpp
@@ -25,6 +25,8 @@
#include "groovie/lzss.h"
+namespace Groovie {
+
#define OUT_BUFF_SIZE 131072
#define COMP_THRESH 3 // Compression not attempted if string to be compressed is less than 3 long
@@ -97,3 +99,5 @@ uint32 LzssReadStream::read(void *buf, uint32 size) {
return size;
}
+
+} // End of Groovie namespace
diff --git a/engines/groovie/lzss.h b/engines/groovie/lzss.h
index 2aa0816252..f78bc20351 100644
--- a/engines/groovie/lzss.h
+++ b/engines/groovie/lzss.h
@@ -25,6 +25,8 @@
#include "common/stream.h"
+namespace Groovie {
+
class LzssReadStream : public Common::ReadStream {
private:
uint8 *_outLzssBufData;
@@ -40,3 +42,5 @@ public:
bool eos() const;
uint32 read(void *buf, uint32 size);
};
+
+} // End of Groovie namespace