Author: sagamusix
Date: Sun Apr 14 14:58:52 2024
New Revision: 20596
URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=20596
Log:
[Fix] MED: Synth arpeggios were accessing wrong member.
Modified:
trunk/OpenMPT/soundlib/InstrumentSynth.cpp
Modified: trunk/OpenMPT/soundlib/InstrumentSynth.cpp
==============================================================================
--- trunk/OpenMPT/soundlib/InstrumentSynth.cpp Sun Apr 14 13:22:14 2024 (r20595)
+++ trunk/OpenMPT/soundlib/InstrumentSynth.cpp Sun Apr 14 14:58:52 2024 (r20596)
@@ -438,7 +438,7 @@
return true;
case Event::Type::MED_DefineArpeggio:
- if(!event.Byte1())
+ if(!event.u16)
return false;
m_nextRow = m_currentRow + event.u16;
m_medArpOffset = m_currentRow;
|