aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichiesams2013-08-04 23:53:40 -0500
committerrichiesams2013-08-04 23:53:40 -0500
commitc4dc3989a70939fd98f1d55dffb548e68f80adfb (patch)
tree0d768c018776f02bf6ffa7b5df6bdd5da3d0a331
parent7b9858d6b45ad4c02729445975518a48292c3658 (diff)
downloadscummvm-rg350-c4dc3989a70939fd98f1d55dffb548e68f80adfb.tar.gz
scummvm-rg350-c4dc3989a70939fd98f1d55dffb548e68f80adfb.tar.bz2
scummvm-rg350-c4dc3989a70939fd98f1d55dffb548e68f80adfb.zip
ZVISION: Make the return from makeRawZorkStream more specific
-rw-r--r--engines/zvision/zork_raw.cpp2
-rw-r--r--engines/zvision/zork_raw.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/zork_raw.cpp b/engines/zvision/zork_raw.cpp
index 742ba188ac..92f659203b 100644
--- a/engines/zvision/zork_raw.cpp
+++ b/engines/zvision/zork_raw.cpp
@@ -155,7 +155,7 @@ Audio::RewindableAudioStream *makeRawZorkStream(const byte *buffer, uint32 size,
return makeRawZorkStream(new Common::MemoryReadStream(buffer, size, disposeAfterUse), rate, stereo, DisposeAfterUse::YES);
}
-Audio::AudioStream *makeRawZorkStream(const Common::String &filePath, ZVision *engine) {
+Audio::RewindableAudioStream *makeRawZorkStream(const Common::String &filePath, ZVision *engine) {
Common::File *file = new Common::File();
assert(file->open(filePath));
diff --git a/engines/zvision/zork_raw.h b/engines/zvision/zork_raw.h
index 4e40a5716a..f19ffc1661 100644
--- a/engines/zvision/zork_raw.h
+++ b/engines/zvision/zork_raw.h
@@ -126,7 +126,7 @@ Audio::RewindableAudioStream *makeRawZorkStream(Common::SeekableReadStream *stre
bool stereo,
DisposeAfterUse::Flag disposeAfterUse = DisposeAfterUse::YES);
-Audio::AudioStream *makeRawZorkStream(const Common::String &filePath, ZVision *engine);
+Audio::RewindableAudioStream *makeRawZorkStream(const Common::String &filePath, ZVision *engine);
} // End of namespace ZVision