diff options
author | James Brown | 2002-04-21 04:14:42 +0000 |
---|---|---|
committer | James Brown | 2002-04-21 04:14:42 +0000 |
commit | 752d05034bf697cde65fe0226ae42dcf171d4fb3 (patch) | |
tree | bbdff5f2d7748eae199b3f6f7ee23b29d2057798 /gameDetector.cpp | |
parent | f509c3166d38a3ab696081e0c74458bd1d0e007d (diff) | |
download | scummvm-rg350-752d05034bf697cde65fe0226ae42dcf171d4fb3.tar.gz scummvm-rg350-752d05034bf697cde65fe0226ae42dcf171d4fb3.tar.bz2 scummvm-rg350-752d05034bf697cde65fe0226ae42dcf171d4fb3.zip |
Fix midi compilation - in more ways than one :P
svn-id: r4030
Diffstat (limited to 'gameDetector.cpp')
-rw-r--r-- | gameDetector.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gameDetector.cpp b/gameDetector.cpp index ef04db4df2..f8306c26e1 100644 --- a/gameDetector.cpp +++ b/gameDetector.cpp @@ -442,14 +442,16 @@ MidiDriver *GameDetector::createMidi() { switch(drv) { case MD_AUTO: - case MD_NULL: return MidiDriver_NULL_create(); + case MD_NULL: return MidiDriver_NULL_create(); #if defined(WIN32) && !defined(_WIN32_WCE) case MD_WINDOWS: return MidiDriver_WIN_create(); #endif -#ifdef __MORPHOS__ +#if defined(__MORPHOS__) case MD_AMIDI: return MidiDriver_AMIDI_create(); #endif - case MD_SEQ: return MidiDriver_SEQ_create(); +#if defined(UNIX) + case MD_SEQ: return MidiDriver_SEQ_create(); +#endif } error("Invalid midi driver selected"); |