aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Ad/AdRegion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Ad/AdRegion.cpp')
-rw-r--r--engines/wintermute/Ad/AdRegion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/Ad/AdRegion.cpp b/engines/wintermute/Ad/AdRegion.cpp
index c8b65a6691..df124e7692 100644
--- a/engines/wintermute/Ad/AdRegion.cpp
+++ b/engines/wintermute/Ad/AdRegion.cpp
@@ -55,7 +55,7 @@ CAdRegion::~CAdRegion() {
//////////////////////////////////////////////////////////////////////////
HRESULT CAdRegion::LoadFile(const char *Filename) {
- byte *Buffer = Game->_fileManager->ReadWholeFile(Filename);
+ byte *Buffer = Game->_fileManager->readWholeFile(Filename);
if (Buffer == NULL) {
Game->LOG(0, "CAdRegion::LoadFile failed for file '%s'", Filename);
return E_FAIL;