diff options
-rw-r--r-- | sound/mods/maxtrax.cpp | 7 | ||||
-rw-r--r-- | sound/mods/tfmx.cpp | 6 |
2 files changed, 12 insertions, 1 deletions
diff --git a/sound/mods/maxtrax.cpp b/sound/mods/maxtrax.cpp index ceaadd2ccb..a1fae233c6 100644 --- a/sound/mods/maxtrax.cpp +++ b/sound/mods/maxtrax.cpp @@ -30,6 +30,9 @@ #include "sound/mods/maxtrax.h" +// test for engines using this class. +#if defined(ENABLE_KYRA) + namespace Audio { MaxTrax::MaxTrax(int rate, bool stereo) @@ -739,4 +742,6 @@ bool MaxTrax::load(Common::SeekableReadStream &musicData, bool loadScores, bool return true; } -} // End of namespace Audio
\ No newline at end of file +} // End of namespace Audio + +#endif // #if defined(ENABLE_KYRA)
\ No newline at end of file diff --git a/sound/mods/tfmx.cpp b/sound/mods/tfmx.cpp index 4886904115..b26d3ab27b 100644 --- a/sound/mods/tfmx.cpp +++ b/sound/mods/tfmx.cpp @@ -31,6 +31,9 @@ #include "sound/mods/tfmx.h" +// test for engines using this class. +#if defined(ENABLE_SCUMM) + // couple debug-functions namespace { void displayPatternstep(const void *const vptr); @@ -1173,3 +1176,6 @@ void displayMacroStep(const void *const vptr, int chan, int index) {} void displayPatternstep(const void *const vptr) {} #endif } // End of namespace + +#endif // #if defined(ENABLE_SCUMM) + |