diff options
author | Eugene Sandulenko | 2018-05-04 12:16:06 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-05-05 23:17:35 +0200 |
commit | c2346309312f61597d39d3934096265c2d72fe66 (patch) | |
tree | ac03696bc3731c5dee8f21b594eb65f8294dadbf /engines/prince/sound.cpp | |
parent | c95cbdc2c913d4234554e3643051e1ca1e124d33 (diff) | |
download | scummvm-rg350-c2346309312f61597d39d3934096265c2d72fe66.tar.gz scummvm-rg350-c2346309312f61597d39d3934096265c2d72fe66.tar.bz2 scummvm-rg350-c2346309312f61597d39d3934096265c2d72fe66.zip |
PRINCE: Initial support for packed Russian version
Diffstat (limited to 'engines/prince/sound.cpp')
-rw-r--r-- | engines/prince/sound.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/prince/sound.cpp b/engines/prince/sound.cpp index 54eebdcc8b..c062c428ca 100644 --- a/engines/prince/sound.cpp +++ b/engines/prince/sound.cpp @@ -89,6 +89,9 @@ bool PrinceEngine::loadSample(uint32 sampleSlot, const Common::String &streamNam } bool PrinceEngine::loadVoice(uint32 slot, uint32 sampleSlot, const Common::String &streamName) { + if (getFeatures() & GF_NOVOICES) + return false; + debugEngine("Loading wav %s slot %d", streamName.c_str(), slot); if (slot >= kMaxTexts) { |