From 989ed101bc9ff659736354f42ac22dfd23809e92 Mon Sep 17 00:00:00 2001 From: darkvater Date: Sun, 12 Sep 2004 22:03:14 +0000 Subject: (svn r224) -Fix: Music now finally works on WinXP. DirectMusic is now default for an OS >= WinNT4 (WinNT4, Win2k, WinXP), and MIDI driver for lower OS's (Win95, Win98, WinME, etc). --- w32dm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'w32dm.c') diff --git a/w32dm.c b/w32dm.c index f8aebca20..665e1eb71 100644 --- a/w32dm.c +++ b/w32dm.c @@ -64,8 +64,8 @@ static char * DMusicMidiStart(char **parm) { if (InitDirectMusic() == true) return(0); - else - return("Unable to initialize DirectMusic"); + + return("Unable to initialize DirectMusic"); } static void DMusicMidiStop() @@ -113,4 +113,4 @@ static void DMusicMidiSetVolume(byte vol) SetVolume(vol); } -#endif +#endif /* WIN32_ENABLE_DIRECTMUSIC_SUPPORT */ -- cgit v1.2.3-54-g00ecf