Skip to content

Commit

Permalink
[Mod] S3M: Only ignore O00 effects if the file has been identified as…
Browse files Browse the repository at this point in the history
… being made with ST3.00/ST3.01. Several other tools identify as ST3.01 but they probably don't need this quirk (in particular UNMO3).

git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@21803 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
sagamusix committed Oct 11, 2024
1 parent 62c9945 commit fb745b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soundlib/Load_s3m.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ bool CSoundFile::ReadS3M(FileReader &file, ModLoadingFlags loadFlags)
else if(m.param > 0x08)
zxxCountRight++;
}
} else if(m.command == CMD_OFFSET && m.param == 0 && fileHeader.cwtv <= S3MFileHeader::trkST3_01)
} else if(m.command == CMD_OFFSET && m.param == 0 && isST3 && fileHeader.cwtv <= S3MFileHeader::trkST3_01)
{
// Offset command didn't have effect memory in ST3.01; fixed in ST3.03
m.command = CMD_DUMMY;
Expand Down

0 comments on commit fb745b7

Please sign in to comment.