Skip to content

Commit

Permalink
Merged revision(s) 22280 from trunk/OpenMPT:
Browse files Browse the repository at this point in the history
[Fix] MED: Do not allow sample swapping with portamento, and don't resume playing a stopped note with portamento. Fixes Homeward_Trek.med by Soundburst (https://www.un4seen.com/forum/?topic=15448.msg144148#msg144148).
........


git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.30@22287 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
sagamusix committed Nov 24, 2024
1 parent 8a26325 commit aee6c3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions soundlib/Load_med.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1193,6 +1193,8 @@ bool CSoundFile::ReadMED(FileReader &file, ModLoadingFlags loadFlags)

// For MED, this affects both volume and pitch slides
m_SongFlags.set(SONG_FASTVOLSLIDES, !(songHeader.flags & MMDSong::FLAG_STSLIDE));
m_playBehaviour.set(kST3PortaSampleChange);
m_playBehaviour.set(kFT2PortaNoNote);

if(expData.songNameOffset && file.Seek(expData.songNameOffset))
{
Expand Down

0 comments on commit aee6c3f

Please sign in to comment.