diff options
Diffstat (limited to 'engines/cge/fileio.cpp')
-rw-r--r-- | engines/cge/fileio.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/engines/cge/fileio.cpp b/engines/cge/fileio.cpp index 87a1ffebac..34c7c6510f 100644 --- a/engines/cge/fileio.cpp +++ b/engines/cge/fileio.cpp @@ -398,6 +398,22 @@ EncryptedStream::EncryptedStream(const char *name) { _readStream = new Common::MemoryReadStream(dataBuffer, kp->_size, DisposeAfterUse::YES); } +uint32 EncryptedStream::read(void *dataPtr, uint32 dataSize) { + return _readStream->read(dataPtr, dataSize); +} + +bool EncryptedStream::err() { + return (_error & _readStream->err()); +} + +bool EncryptedStream::eos() { + return _readStream->eos(); +} + +Common::String EncryptedStream::readLine() { + return _readStream->readLine(); +} + EncryptedStream::~EncryptedStream() { } |