aboutsummaryrefslogtreecommitdiff
path: root/audio/mods/tfmx.h
diff options
context:
space:
mode:
authorMatthew Hoops2012-06-15 22:45:44 -0400
committerMatthew Hoops2012-06-15 22:48:26 -0400
commit5230a0d61795e2855625a43d60dc3bc2ed83fc3d (patch)
tree1ee9d3b9610028113d38480f85d279c0d8cc6d60 /audio/mods/tfmx.h
parent230a0edc2d966e5990115b5669b5236d2d41618e (diff)
downloadscummvm-rg350-5230a0d61795e2855625a43d60dc3bc2ed83fc3d.tar.gz
scummvm-rg350-5230a0d61795e2855625a43d60dc3bc2ed83fc3d.tar.bz2
scummvm-rg350-5230a0d61795e2855625a43d60dc3bc2ed83fc3d.zip
AUDIO: Make sure maxtrax and tfmx are compiled in with dynamic modules
Diffstat (limited to 'audio/mods/tfmx.h')
-rw-r--r--audio/mods/tfmx.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/audio/mods/tfmx.h b/audio/mods/tfmx.h
index 4174fbfb27..ebe1172278 100644
--- a/audio/mods/tfmx.h
+++ b/audio/mods/tfmx.h
@@ -20,11 +20,8 @@
*
*/
-// see if all engines using this class are DISABLED
-#if !defined(ENABLE_SCUMM)
-
-// normal Header Guard
-#elif !defined(AUDIO_MODS_TFMX_H)
+// Only compiled if SCUMM is built-in or we're building for dynamic modules
+#if !defined(AUDIO_MODS_TFMX_H) && (defined(ENABLE_SCUMM) || defined(DYNAMIC_MODULES))
#define AUDIO_MODS_TFMX_H
#include "audio/mods/paula.h"