diff options
| -rw-r--r-- | sdl.cpp | 4 | 
1 files changed, 4 insertions, 0 deletions
@@ -220,6 +220,10 @@ OSystem *OSystem_SDL::create(int gfx_mode, bool full_screen) {  		error("Could not initialize SDL: %s.\n", SDL_GetError());  	} +#ifdef WIN32				  /* Use waveout on win32, not */ +	SDL_AudioInit("waveout"); /* dsound - unfortunatly dsound */ +#endif						  /* doesn't do COOPERATIVE mode*/ +  	SDL_ShowCursor(SDL_DISABLE);  	SDL_SetTimer(5 * 60 * 1000, (SDL_TimerCallback) autosave);  | 
