Skip to content

Commit

Permalink
ZVISION: Make the return from makeRawZorkStream more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
RichieSams committed Aug 5, 2013
1 parent 7b9858d commit c4dc398
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engines/zvision/zork_raw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down
2 changes: 1 addition & 1 deletion engines/zvision/zork_raw.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c4dc398

Please sign in to comment.