aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/music_node.cpp
diff options
context:
space:
mode:
authorMarisa-Chan2014-02-04 08:32:02 +0700
committerMarisa-Chan2014-02-04 08:32:02 +0700
commit4a454ed763c24f94062be5dd57f43e0a84c1b0a2 (patch)
treecbfd6f403c780c696d86bc02397e93a89dba9870 /engines/zvision/music_node.cpp
parent9c9f59d57060617d1acec71bd0d4066504f17c7a (diff)
downloadscummvm-rg350-4a454ed763c24f94062be5dd57f43e0a84c1b0a2.tar.gz
scummvm-rg350-4a454ed763c24f94062be5dd57f43e0a84c1b0a2.tar.bz2
scummvm-rg350-4a454ed763c24f94062be5dd57f43e0a84c1b0a2.zip
ZVISION: New search manager for handle right handle for ZIX-files.
Diffstat (limited to 'engines/zvision/music_node.cpp')
-rw-r--r--engines/zvision/music_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/music_node.cpp b/engines/zvision/music_node.cpp
index 30271480c1..d47a796382 100644
--- a/engines/zvision/music_node.cpp
+++ b/engines/zvision/music_node.cpp
@@ -51,7 +51,7 @@ MusicNode::MusicNode(ZVision *engine, uint32 key, Common::String &filename, bool
if (filename.contains(".wav")) {
Common::File *file = new Common::File();
- if (file->open(filename)) {
+ if (_engine->getSearchManager()->openFile(*file, filename)) {
audioStream = Audio::makeWAVStream(file, DisposeAfterUse::YES);
}
} else {