aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/file/BFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Base/file/BFile.cpp')
-rw-r--r--engines/wintermute/Base/file/BFile.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/wintermute/Base/file/BFile.cpp b/engines/wintermute/Base/file/BFile.cpp
index 6fa7cb84d6..9da60a11ec 100644
--- a/engines/wintermute/Base/file/BFile.cpp
+++ b/engines/wintermute/Base/file/BFile.cpp
@@ -51,16 +51,16 @@ CBFile::~CBFile() {
//////////////////////////////////////////////////////////////////////////
-bool CBFile::IsEOF() {
+bool CBFile::isEOF() {
return _pos == _size;
}
Common::SeekableReadStream *CBFile::getMemStream() {
uint32 oldPos = getPos();
- Seek(0);
+ seek(0);
byte *data = new byte[getSize()];
- Read(data, getSize());
- Seek(oldPos);
+ read(data, getSize());
+ seek(oldPos);
Common::MemoryReadStream *memStream = new Common::MemoryReadStream(data, getSize(), DisposeAfterUse::YES);
return memStream;
}