mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 20:59:00 +00:00
Fixed regression of commit #40904, which caused the audio in KQ5CD to be played incorrectly
svn-id: r40923
This commit is contained in:
parent
3e29b47ec3
commit
d111e33df4
@ -1358,6 +1358,7 @@ Audio::AudioStream* AudioResource::getAudioStream(uint16 audioNumber, int *sampl
|
||||
if (_sciVersion < SCI_VERSION_1_1) {
|
||||
found = findAudEntrySCI1(audioNumber, volume, offset, size);
|
||||
sprintf(filename, "AUDIO%03d.%03d", _lang, volume);
|
||||
flags |= Audio::Mixer::FLAG_UNSIGNED;
|
||||
} else {
|
||||
found = findAudEntrySCI11(audioNumber, offset);
|
||||
strcpy(filename, "RESOURCE.AUD");
|
||||
|
Loading…
x
Reference in New Issue
Block a user