[Scummvm-git-logs] scummvm master -> 3980b9593a7df91f41a3f9be190371e2c33cdb7d
sev-
sev at scummvm.org
Sun Jul 30 22:09:22 CEST 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
3980b9593a fix music in "Draci Historie" (use MIDI channel 16)
Commit: 3980b9593a7df91f41a3f9be190371e2c33cdb7d
https://github.com/scummvm/scummvm/commit/3980b9593a7df91f41a3f9be190371e2c33cdb7d
Author: kmar (k_mar at seznam.cz)
Date: 2017-07-30T22:09:19+02:00
Commit Message:
fix music in "Draci Historie" (use MIDI channel 16)
Changed paths:
engines/draci/music.cpp
diff --git a/engines/draci/music.cpp b/engines/draci/music.cpp
index 3fa3801..fc44402 100644
--- a/engines/draci/music.cpp
+++ b/engines/draci/music.cpp
@@ -53,7 +53,7 @@ MusicPlayer::MusicPlayer(const char *pathMask) : _pathMask(pathMask), _isGM(fals
void MusicPlayer::sendToChannel(byte channel, uint32 b) {
if (!_channelsTable[channel]) {
- _channelsTable[channel] = (channel == 9) ? _driver->getPercussionChannel() : _driver->allocateChannel();
+ _channelsTable[channel] = (channel == 15) ? _driver->getPercussionChannel() : _driver->allocateChannel();
// If a new channel is allocated during the playback, make sure
// its volume is correctly initialized.
if (_channelsTable[channel])
More information about the Scummvm-git-logs
mailing list