diff options
author | darkvater <darkvater@openttd.org> | 2004-09-12 22:03:14 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-09-12 22:03:14 +0000 |
commit | 989ed101bc9ff659736354f42ac22dfd23809e92 (patch) | |
tree | 059fa9da5c30ef18e3f8d338d639a6d1f3d67e0d /w32dm.c | |
parent | e295e46e3eccd58626ce2b02aab24b96c025636b (diff) | |
download | openttd-989ed101bc9ff659736354f42ac22dfd23809e92.tar.xz |
(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).
Diffstat (limited to 'w32dm.c')
-rw-r--r-- | w32dm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 */ |