diff options
-rw-r--r-- | engines/cge/fileio.cpp | 4 | ||||
-rw-r--r-- | engines/cge/fileio.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/engines/cge/fileio.cpp b/engines/cge/fileio.cpp index bab01b62d3..2b1f74db02 100644 --- a/engines/cge/fileio.cpp +++ b/engines/cge/fileio.cpp @@ -93,13 +93,11 @@ ResourceManager::~ResourceManager() { delete _buff[i]._page; } -uint16 ResourceManager::XCrypt(byte *buf, uint16 length) { +void ResourceManager::XCrypt(byte *buf, uint16 length) { byte *b = buf; for (uint16 i = 0; i < length; i++) *b++ ^= kCryptSeed; - - return kCryptSeed; } bool ResourceManager::seek(int32 offs, int whence) { diff --git a/engines/cge/fileio.h b/engines/cge/fileio.h index 803d6b2d58..77404fb552 100644 --- a/engines/cge/fileio.h +++ b/engines/cge/fileio.h @@ -86,7 +86,7 @@ class ResourceManager { uint16 catRead(byte *buf, uint16 length); Common::File *_catFile; Common::File *_datFile; - uint16 XCrypt(byte *buf, uint16 length); + void XCrypt(byte *buf, uint16 length); public: ResourceManager(); |