diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/softsynth/sid.cpp | 4 | ||||
-rw-r--r-- | sound/softsynth/wave6581.cpp | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sound/softsynth/sid.cpp b/sound/softsynth/sid.cpp index 8d8a75ab0b..e0dfd2efc0 100644 --- a/sound/softsynth/sid.cpp +++ b/sound/softsynth/sid.cpp @@ -28,6 +28,8 @@ * Copyright (C) 2004 Dag Lem <resid@nimrod.no> */ +#ifndef DISABLE_SID + #include "sid.h" #include <math.h> @@ -1424,3 +1426,5 @@ int SID::clock(cycle_count& delta_t, short* buf, int n, int interleave) { } } + +#endif diff --git a/sound/softsynth/wave6581.cpp b/sound/softsynth/wave6581.cpp index 29a4962c3c..29998dcd0a 100644 --- a/sound/softsynth/wave6581.cpp +++ b/sound/softsynth/wave6581.cpp @@ -28,6 +28,8 @@ * Copyright (C) 2004 Dag Lem <resid@nimrod.no> */ +#ifndef DISABLE_SID + #include "sid.h" namespace Resid @@ -2098,3 +2100,4 @@ reg8 WaveformGenerator::wave6581_PST[] = }; } +#endif |