From: <sv...@op...> - 2024-07-15 20:32:20
|
Author: sagamusix Date: Mon Jul 15 22:32:08 2024 New Revision: 21188 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21188 Log: [Fix] MED: Command 0F was not imported properly. Modified: trunk/OpenMPT/soundlib/Load_med.cpp Modified: trunk/OpenMPT/soundlib/Load_med.cpp ============================================================================== --- trunk/OpenMPT/soundlib/Load_med.cpp Mon Jul 15 21:02:26 2024 (r21187) +++ trunk/OpenMPT/soundlib/Load_med.cpp Mon Jul 15 22:32:08 2024 (r21188) @@ -481,7 +481,7 @@ if(m.param < 0x20) m.param = 0x20; #endif // MODPLUG_TRACKER - } else switch(command) + } else switch(param) { case 0xF1: // Play note twice m.SetEffectCommand(CMD_MODCMDEX, 0x93); @@ -626,7 +626,7 @@ cmd = command; param1 = param; } - // Octave wrapping for 4-channel modules (TODO: this should not be set because of synth instruments) + // Octave wrapping for 4-channel modules if(ctx.hardwareMixSamples && note >= NOTE_MIDDLEC + 2 * 12) needInstruments = true; |