Skip to content

Commit b878b17

Browse files
committed
[Mod] Don't list SoundSmith/MegaTracker extensions if external files are disabled.
git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@24989 56274372-70c3-4bfc-bfc3-4c3a0b034d27
1 parent 7fe74fd commit b878b17

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

soundlib/Tables.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ static constexpr ModFormatInfo modFormatInfo[] =
9494
{ UL_("MultiMedia Sound"), "mms" },
9595
{ UL_("MadTracker 2"), "mt2" },
9696
{ UL_("MultiTracker"), "mtm" },
97+
#ifdef MPT_EXTERNAL_SAMPLES
9798
{ UL_("MegaTracker"), "mtp" },
99+
#endif
98100
{ UL_("Karl Morton Music Format"), "mus" },
99101
{ UL_("NoiseRunner"), "nru" },
100102
{ UL_("NoiseTracker"), "nst" },
@@ -108,7 +110,9 @@ static constexpr ModFormatInfo modFormatInfo[] =
108110
{ UL_("SoundFX"), "sfx" },
109111
{ UL_("SoundFX"), "sfx2" },
110112
{ UL_("Future Composer"), "smod" },
113+
#ifdef MPT_EXTERNAL_SAMPLES
111114
{ UL_("SoundSmith"), "ss" },
115+
#endif
112116
{ UL_("SoundTracker 2.6"), "st26" },
113117
{ UL_("Soundtracker"), "stk" },
114118
{ UL_("Scream Tracker 2"), "stm" },

0 commit comments

Comments
 (0)