mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-31 22:53:54 +00:00
Fixed GM part allocation conflicts, default Sam & Max pitch bend range
svn-id: r5136
This commit is contained in:
parent
be120d3a34
commit
2255b212ed
@ -3270,7 +3270,7 @@ void Part::setup(Player *player)
|
||||
_transpose = 0;
|
||||
_detune = 0;
|
||||
_detune_eff = player->_detune;
|
||||
_pitchbend_factor = 2;
|
||||
_pitchbend_factor = ((g_scumm->_features & GID_SAMNMAX) ? 2 : 12);
|
||||
_pitchbend = 0;
|
||||
_effect_level = 64;
|
||||
_program = 255;
|
||||
@ -3297,6 +3297,8 @@ void Part::uninit()
|
||||
_player = NULL;
|
||||
_next = NULL;
|
||||
_prev = NULL;
|
||||
|
||||
update_pris(); // In case another player couldn't allocate all its parts
|
||||
}
|
||||
|
||||
void Part::off()
|
||||
|
Loading…
Reference in New Issue
Block a user