From: <sv...@op...> - 2024-07-26 18:01:30
|
Author: sagamusix Date: Fri Jul 26 20:01:20 2024 New Revision: 21292 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21292 Log: [Fix] MED: Command 09 (set speed) was limited to 20 ticks per row instead of 0x20 ticks per row... (https://www.un4seen.com/forum/?topic=15448.msg143294#msg143294) Modified: trunk/OpenMPT/soundlib/Load_med.cpp Modified: trunk/OpenMPT/soundlib/Load_med.cpp ============================================================================== --- trunk/OpenMPT/soundlib/Load_med.cpp Fri Jul 26 19:47:47 2024 (r21291) +++ trunk/OpenMPT/soundlib/Load_med.cpp Fri Jul 26 20:01:20 2024 (r21292) @@ -439,7 +439,7 @@ case 0x08: // Hold and decay break; case 0x09: // Set secondary speed - if(param > 0 && param <= 20) + if(param > 0 && param <= 0x20) m.SetEffectCommand(CMD_SPEED, param); break; case 0x0C: // Set Volume (note: parameters >= 0x80 (only in hex mode?) should set the default instrument volume, which we don't support) |