diff options
Diffstat (limited to 'engines/gob/totfile.cpp')
-rw-r--r-- | engines/gob/totfile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/totfile.cpp b/engines/gob/totfile.cpp index 178deeaf58..82dd0c38c0 100644 --- a/engines/gob/totfile.cpp +++ b/engines/gob/totfile.cpp @@ -45,11 +45,11 @@ TOTFile::~TOTFile() { bool TOTFile::load(const Common::String &fileName) { // Trying to open normally - _stream = _vm->_dataIO->getDataStream(fileName.c_str()); + _stream = _vm->_dataIO->getFile(fileName); if (!_stream) // Trying to open from video - _stream = _vm->_vidPlayer->getEmbeddedFile(fileName.c_str()); + _stream = _vm->_vidPlayer->getEmbeddedFile(fileName); if (!_stream) return false; |