diff options
-rw-r--r-- | engines/cge2/fileio.cpp | 6 | ||||
-rw-r--r-- | engines/cge2/fileio.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/cge2/fileio.cpp b/engines/cge2/fileio.cpp index 52a00ac129..ea218647f9 100644 --- a/engines/cge2/fileio.cpp +++ b/engines/cge2/fileio.cpp @@ -90,7 +90,7 @@ ResourceManager::~ResourceManager() { delete _buff[i]._page; } -void ResourceManager::XCrypt(byte *buf, uint16 length) { +void ResourceManager::xCrypt(byte *buf, uint16 length) { byte *b = buf; for (uint16 i = 0; i < length; i++) @@ -108,7 +108,7 @@ uint16 ResourceManager::read(byte *buf, uint16 length) { uint16 bytesRead = _datFile->read(buf, length); if (!bytesRead) error("Read %s - %d bytes", _datFile->getName(), length); - XCrypt(buf, length); + xCrypt(buf, length); return bytesRead; } @@ -180,7 +180,7 @@ uint16 ResourceManager::catRead(byte *buf, uint16 length) { uint16 bytesRead = _catFile->read(buf, length); if (!bytesRead) error("Read %s - %d bytes", _catFile->getName(), length); - XCrypt(buf, length); + xCrypt(buf, length); return bytesRead; } diff --git a/engines/cge2/fileio.h b/engines/cge2/fileio.h index 67b3754e85..e236c73b49 100644 --- a/engines/cge2/fileio.h +++ b/engines/cge2/fileio.h @@ -94,7 +94,7 @@ private: uint16 catRead(byte *buf, uint16 length); Common::File *_catFile; Common::File *_datFile; - void XCrypt(byte *buf, uint16 length); + void xCrypt(byte *buf, uint16 length); public: ResourceManager(); ~ResourceManager(); |