mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
Fix for Bug [817242] ALL: MT-32 to GM key velocity conversion
Implemented dynamic range matching for MT-32 tracks routed to GM output devices. svn-id: r10573
This commit is contained in:
parent
056974821a
commit
5fa23e5fee
@ -242,6 +242,8 @@ void Player::send(uint32 b) {
|
||||
|
||||
case 0x9: // Key On
|
||||
if (!_scanning) {
|
||||
if (_isMT32 && !_se->isNativeMT32())
|
||||
param2 = (((param2 * 3) >> 2) + 32) & 0x7F;
|
||||
if ((part = getPart(chan)) != 0)
|
||||
part->noteOn(param1, param2);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user