mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 08:53:51 +00:00
Fixed program change msgs being sent under Adlib
svn-id: r7615
This commit is contained in:
parent
fcc11d19fa
commit
93825ff948
@ -2127,7 +2127,8 @@ void Player::parse_sysex(byte *p, uint len) {
|
||||
// 0 is a valid program number. MI2 tests show that in such
|
||||
// cases, a regular program change message always seems to follow
|
||||
// anyway.
|
||||
part->_instrument.program ((p[15] & 0x0F) << 4 | (p[16] & 0x0F), _mt32emulate);
|
||||
if (_isGM)
|
||||
part->_instrument.program ((p[15] & 0x0F) << 4 | (p[16] & 0x0F), _mt32emulate);
|
||||
part->sendAll();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user