diff options
author | richiesams | 2013-08-04 23:53:40 -0500 |
---|---|---|
committer | richiesams | 2013-08-04 23:53:40 -0500 |
commit | c4dc3989a70939fd98f1d55dffb548e68f80adfb (patch) | |
tree | 0d768c018776f02bf6ffa7b5df6bdd5da3d0a331 | |
parent | 7b9858d6b45ad4c02729445975518a48292c3658 (diff) | |
download | scummvm-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.cpp | 2 | ||||
-rw-r--r-- | engines/zvision/zork_raw.h | 2 |
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 |