diff options
author | Johannes Schickel | 2009-05-06 13:57:05 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-05-06 13:57:05 +0000 |
commit | 47e426f271fdd08c3fe8e1c8b383cecd27cdd951 (patch) | |
tree | 280799b7db9cf56177101584e162a86827043009 /sound/softsynth/opl/mame.cpp | |
parent | 625f218388742e13654ea938ee052abafa5cec59 (diff) | |
download | scummvm-rg350-47e426f271fdd08c3fe8e1c8b383cecd27cdd951.tar.gz scummvm-rg350-47e426f271fdd08c3fe8e1c8b383cecd27cdd951.tar.bz2 scummvm-rg350-47e426f271fdd08c3fe8e1c8b383cecd27cdd951.zip |
Don't include headers inside namespace scopes. This should fix compilation on NDS at least.
svn-id: r40360
Diffstat (limited to 'sound/softsynth/opl/mame.cpp')
-rw-r--r-- | sound/softsynth/opl/mame.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/softsynth/opl/mame.cpp b/sound/softsynth/opl/mame.cpp index c44abd16f9..3527d63d70 100644 --- a/sound/softsynth/opl/mame.cpp +++ b/sound/softsynth/opl/mame.cpp @@ -37,6 +37,10 @@ #include "common/config-manager.h" #endif +#if defined(__DS__) +#include "dsmain.h" +#endif + namespace OPL { namespace MAME { @@ -94,7 +98,6 @@ void OPL::readBuffer(int16 *buffer, int length) { /* sinwave entries */ /* used static memory = SIN_ENT * 4 (byte) */ #ifdef __DS__ -#include "dsmain.h" #define SIN_ENT_SHIFT 8 #else #define SIN_ENT_SHIFT 11 |