From: <sv...@op...> - 2024-05-12 12:39:24
|
Author: sagamusix Date: Sun May 12 14:39:12 2024 New Revision: 20822 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=20822 Log: [Imp] Disable kITNoSustainOnPortamento compatibility flag for ITs saved with older Schism Tracker versions. Modified: trunk/OpenMPT/soundlib/Load_it.cpp Modified: trunk/OpenMPT/soundlib/Load_it.cpp ============================================================================== --- trunk/OpenMPT/soundlib/Load_it.cpp Sun May 12 14:31:53 2024 (r20821) +++ trunk/OpenMPT/soundlib/Load_it.cpp Sun May 12 14:39:12 2024 (r20822) @@ -1297,9 +1297,13 @@ // Panbrello hold: Added 2024-03-09, https://github.com/schismtracker/schismtracker/commit/ebdebaa8c8a735a7bf49df55debded1b7aac3605 if(schismDateVersion < SchismVersionFromDate<2024, 03, 9>::date) m_playBehaviour.reset(kITPanbrelloHold); - // Empty instrument sample map slot ignores complete pattern cell: Added 2024-05-12, https://github.com/schismtracker/schismtracker/commit/aa84148e019a65f3d52ecd33fd84bfecfdb87bf4 if(schismDateVersion < SchismVersionFromDate<2024, 05, 12>::date) + { + // Do not re-enable sustain loop on portamento-ed note: Added 2024-05-12, https://github.com/schismtracker/schismtracker/commit/6f68f2855a7e5e4ffe825869244e631e15741037 + m_playBehaviour.reset(kITNoSustainOnPortamento); + // Empty instrument sample map slot ignores complete pattern cell: Added 2024-05-12, https://github.com/schismtracker/schismtracker/commit/aa84148e019a65f3d52ecd33fd84bfecfdb87bf4 m_playBehaviour.reset(kITEmptyNoteMapSlotIgnoreCell); + } break; case 4: madeWithTracker = MPT_UFORMAT("pyIT {}.{}")((fileHeader.cwtv & 0x0F00) >> 8, mpt::ufmt::hex0<2>(fileHeader.cwtv & 0xFF)); |