Changeset - r49:531903a7bd66
[Not reviewed]
master
0 2 0
darkvater - 20 years ago 2004-08-13 23:39:48
darkvater@openttd.org
(svn r50) -Fix hopefully the win98 crashes related to music/sound (orudge)
2 files changed with 6 insertions and 4 deletions:
0 comments (0 inline, 0 general)
w32dm.c
Show inline comments
 
@@ -62,8 +62,10 @@ bool seeking = false;
 

	
 
static char * DMusicMidiStart(char **parm)
 
{
 
	InitDirectMusic();
 
	return 0;
 
	if (InitDirectMusic() == true)
 
		return(0);
 
	else
 
		return(false);
 
}
 

	
 
static void DMusicMidiStop()
win32.c
Show inline comments
 
@@ -1774,10 +1774,10 @@ const DriverDesc _sound_driver_descs[] =
 

	
 
const DriverDesc _music_driver_descs[] = {
 
	{"null", "Null Music Driver",		&_null_music_driver,	0},
 
	{"win32", "Win32 MIDI Driver",	&_win32_music_driver,	1},
 
#ifdef WIN32_ENABLE_DIRECTMUSIC_SUPPORT
 
	{"dmusic", "DirectMusic MIDI Driver",	&_dmusic_midi_driver,	2},
 
	{"dmusic", "DirectMusic MIDI Driver",	&_dmusic_midi_driver,	1},
 
#endif
 
	{"win32", "Win32 MIDI Driver",	&_win32_music_driver,	2},
 
	{NULL}
 
};
 

	
0 comments (0 inline, 0 general)