From 85101525454bf613aa35d72a356c506d2f7600c4 Mon Sep 17 00:00:00 2001 From: uruk Date: Mon, 11 Aug 2014 15:31:34 +0200 Subject: CGE2: Rename XCrpyt() to xCrypt(). --- engines/cge2/fileio.cpp | 6 +++--- engines/cge2/fileio.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'engines') 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(); -- cgit v1.2.3