diff options
author | Eugene Sandulenko | 2018-05-05 20:47:18 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-05-05 23:17:35 +0200 |
commit | 5515f414afd062b78a60c71fb465e978dfef62ae (patch) | |
tree | 8a9f80f0f4b3e7f79b5c9726f63693743aecf4e8 /engines/prince/music.cpp | |
parent | 85aa17d9ac8c97f0939bdd9380f97c8a71fcd140 (diff) | |
download | scummvm-rg350-5515f414afd062b78a60c71fb465e978dfef62ae.tar.gz scummvm-rg350-5515f414afd062b78a60c71fb465e978dfef62ae.tar.bz2 scummvm-rg350-5515f414afd062b78a60c71fb465e978dfef62ae.zip |
PRINCE: Decompress files if they're extracted
Diffstat (limited to 'engines/prince/music.cpp')
-rw-r--r-- | engines/prince/music.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/prince/music.cpp b/engines/prince/music.cpp index ca72e9caa0..f1846f925e 100644 --- a/engines/prince/music.cpp +++ b/engines/prince/music.cpp @@ -23,6 +23,7 @@ #include "prince/prince.h" #include "prince/music.h" #include "prince/musNum.h" +#include "prince/resource.h" #include "common/archive.h" #include "common/debug.h" @@ -153,6 +154,8 @@ void MusicPlayer::loadMidi(const char *name) { return; } + stream = Resource::getDecompressedStream(stream); + // Stop any currently playing MIDI file killMidi(); |