From c4dc3989a70939fd98f1d55dffb548e68f80adfb Mon Sep 17 00:00:00 2001 From: richiesams Date: Sun, 4 Aug 2013 23:53:40 -0500 Subject: ZVISION: Make the return from makeRawZorkStream more specific --- engines/zvision/zork_raw.cpp | 2 +- engines/zvision/zork_raw.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/zvision') 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 -- cgit v1.2.3