diff options
author | Sven Hesse | 2010-10-31 20:07:14 +0000 |
---|---|---|
committer | Sven Hesse | 2010-10-31 20:07:14 +0000 |
commit | 16a3cc8a8440c4ca6b45b6408d7baf7e9c001553 (patch) | |
tree | c1c208521c0098bbec5fc3a19e5ad27076a66e2d /engines/gob/videoplayer.cpp | |
parent | 88892dc982362cdaae8fa67fec7600041375fbd9 (diff) | |
download | scummvm-rg350-16a3cc8a8440c4ca6b45b6408d7baf7e9c001553.tar.gz scummvm-rg350-16a3cc8a8440c4ca6b45b6408d7baf7e9c001553.tar.bz2 scummvm-rg350-16a3cc8a8440c4ca6b45b6408d7baf7e9c001553.zip |
GOB: Clean up class DataIO
Removing the need for class DataStream and that handle mess.
svn-id: r53984
Diffstat (limited to 'engines/gob/videoplayer.cpp')
-rw-r--r-- | engines/gob/videoplayer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp index 020c72d0c1..917bdc66c5 100644 --- a/engines/gob/videoplayer.cpp +++ b/engines/gob/videoplayer.cpp @@ -686,7 +686,7 @@ Common::String VideoPlayer::findFile(const Common::String &file, Properties &pro if ((properties.type == kVideoTypeTry) || (properties.type == ((Type) i))) { fileName = base + "." + _extensions[i]; - if (_vm->_dataIO->existData(fileName.c_str())) { + if (_vm->_dataIO->hasFile(fileName)) { properties.type = (Type) i; break; } @@ -707,7 +707,7 @@ Graphics::CoktelDecoder *VideoPlayer::openVideo(const Common::String &file, Prop if (fileName.empty()) return 0; - Common::SeekableReadStream *stream = _vm->_dataIO->getDataStream(fileName.c_str()); + Common::SeekableReadStream *stream = _vm->_dataIO->getFile(fileName); if (!stream) return 0; |