(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).
This commit is contained in:
6
w32dm.c
6
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 */
|
||||
|
||||
Reference in New Issue
Block a user