Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

AUDIO: Make sure maxtrax and tfmx are compiled in with dynamic modules

  • Loading branch information...
commit 5230a0d61795e2855625a43d60dc3bc2ed83fc3d 1 parent 230a0ed
@clone2727 clone2727 authored
Showing with 4 additions and 10 deletions.
  1. +2 −5 audio/mods/maxtrax.h
  2. +2 −5 audio/mods/tfmx.h
View
7 audio/mods/maxtrax.h
@@ -20,11 +20,8 @@
*
*/
-// see if all engines using this class are DISABLED
-#if !defined(ENABLE_KYRA)
-
-// normal Header Guard
-#elif !defined(AUDIO_MODS_MAXTRAX_H)
+// Only compiled if Kyra is built-in or we're building for dynamic modules
+#if !defined(AUDIO_MODS_MAXTRAX_H) && (defined(ENABLE_KYRA) || defined(DYNAMIC_MODULES))
#define AUDIO_MODS_MAXTRAX_H
// #define MAXTRAX_HAS_MODULATION
View
7 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"
Please sign in to comment.
Something went wrong with that request. Please try again.