diff options
author | uruk | 2014-08-11 15:31:34 +0200 |
---|---|---|
committer | uruk | 2014-08-11 15:31:34 +0200 |
commit | 85101525454bf613aa35d72a356c506d2f7600c4 (patch) | |
tree | 94d063aae5c86b482d26ea3cffad2049c16563e3 /engines | |
parent | 854849f57ae515ee84640f18881ffcd4e3b72846 (diff) | |
download | scummvm-rg350-85101525454bf613aa35d72a356c506d2f7600c4.tar.gz scummvm-rg350-85101525454bf613aa35d72a356c506d2f7600c4.tar.bz2 scummvm-rg350-85101525454bf613aa35d72a356c506d2f7600c4.zip |
CGE2: Rename XCrpyt() to xCrypt().
Diffstat (limited to 'engines')
-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(); |