From 752d05034bf697cde65fe0226ae42dcf171d4fb3 Mon Sep 17 00:00:00 2001 From: James Brown Date: Sun, 21 Apr 2002 04:14:42 +0000 Subject: Fix midi compilation - in more ways than one :P svn-id: r4030 --- gameDetector.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gameDetector.cpp') 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"); -- cgit v1.2.3