diff options
author | Ludvig Strigeus | 2002-04-13 19:06:10 +0000 |
---|---|---|
committer | Ludvig Strigeus | 2002-04-13 19:06:10 +0000 |
commit | bad581ae5e49cdfd52d75f131460e8eb980665f9 (patch) | |
tree | 62983518e89e12a64e630f1aca5a21dcab330df2 | |
parent | 65a98de8b97fe4d31e5686dbccdf34c0993778ab (diff) | |
download | scummvm-rg350-bad581ae5e49cdfd52d75f131460e8eb980665f9.tar.gz scummvm-rg350-bad581ae5e49cdfd52d75f131460e8eb980665f9.tar.bz2 scummvm-rg350-bad581ae5e49cdfd52d75f131460e8eb980665f9.zip |
only call MidiDriver_WIN_create if compiling for windows
svn-id: r3927
-rw-r--r-- | gameDetector.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gameDetector.cpp b/gameDetector.cpp index 36dfa72491..f6ecaa2bad 100644 --- a/gameDetector.cpp +++ b/gameDetector.cpp @@ -409,7 +409,9 @@ MidiDriver *GameDetector::createMidi() { switch(drv) { case MD_AUTO: case MD_NULL: return MidiDriver_NULL_create(); +#ifdef WIN32 case MD_WINDOWS: return MidiDriver_WIN_create(); +#endif } error("Invalid midi driver selected"); |