From: <sv...@op...> - 2024-03-09 11:59:54
|
Author: sagamusix Date: Sat Mar 9 12:59:35 2024 New Revision: 20310 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=20310 Log: [Fix] Fix compilation. Modified: branches/OpenMPT-1.28/soundlib/Load_it.cpp Modified: branches/OpenMPT-1.28/soundlib/Load_it.cpp ============================================================================== --- branches/OpenMPT-1.28/soundlib/Load_it.cpp Sat Mar 9 12:55:02 2024 (r20309) +++ branches/OpenMPT-1.28/soundlib/Load_it.cpp Sat Mar 9 12:59:35 2024 (r20310) @@ -1248,7 +1248,7 @@ // Hence to be sure, we check that both values are below 2.14. // Note that all ModPlug Tracker alpha versions do not support filters yet. Earlier alphas identify as cwtv=2.02, cmwt=2.00, but later alpha versions identify as IT 2.14. // Apart from that, there's an unknown XM conversion tool declaring a lower comaptible version, which naturally also does not support filters, so it's okay that it is caught here. - if((fileHeader.cwtv < 0x0214 && fileHeader.cmwt < 0x0214) || (m_dwLastSavedWithVersion && m_dwLastSavedWithVersion <= MPT_V("1.00.00.A6"))) + if((fileHeader.cwtv < 0x0214 && fileHeader.cmwt < 0x0214) || (m_dwLastSavedWithVersion && m_dwLastSavedWithVersion <= MAKE_VERSION_NUMERIC(1, 00, 00, A6))) { m_MidiCfg.ClearZxxMacros(); } |