Author: sagamusix
Date: Tue May 28 18:26:15 2024
New Revision: 20865
URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=20865
Log:
[Imp] IT: Disable offset-without-note quirk for older SchismTracker versions.
Modified:
trunk/OpenMPT/soundlib/Load_it.cpp
Modified: trunk/OpenMPT/soundlib/Load_it.cpp
==============================================================================
--- trunk/OpenMPT/soundlib/Load_it.cpp Mon May 27 21:36:15 2024 (r20864)
+++ trunk/OpenMPT/soundlib/Load_it.cpp Tue May 28 18:26:15 2024 (r20865)
@@ -1304,6 +1304,9 @@
// Empty instrument sample map slot ignores complete pattern cell: Added 2024-05-12, https://github.com/schismtracker/schismtracker/commit/aa84148e019a65f3d52ecd33fd84bfecfdb87bf4
m_playBehaviour.reset(kITEmptyNoteMapSlotIgnoreCell);
}
+ // Offset without note: Added 2024-05-27, https://github.com/schismtracker/schismtracker/commit/9237960d45079a54ad73f87bacfe5dd8ae82e273
+ if(schismDateVersion < SchismVersionFromDate<2024, 05, 27>::date)
+ m_playBehaviour.reset(kITOffsetWithInstrNumber);
break;
case 4:
madeWithTracker = MPT_UFORMAT("pyIT {}.{}")((fileHeader.cwtv & 0x0F00) >> 8, mpt::ufmt::hex0<2>(fileHeader.cwtv & 0xFF));
|