diff options
author | James Brown | 2002-06-16 04:09:22 +0000 |
---|---|---|
committer | James Brown | 2002-06-16 04:09:22 +0000 |
commit | f3ab5d82288aa14cef1b4f9824e6d9605dcbe686 (patch) | |
tree | 4cb6eb8767684155d2a9d7992e6acb931d034b2c /sdl.cpp | |
parent | 6fb7585cf5ccda44efe3b6c8b445de3813785862 (diff) | |
download | scummvm-rg350-f3ab5d82288aa14cef1b4f9824e6d9605dcbe686.tar.gz scummvm-rg350-f3ab5d82288aa14cef1b4f9824e6d9605dcbe686.tar.bz2 scummvm-rg350-f3ab5d82288aa14cef1b4f9824e6d9605dcbe686.zip |
Fix Simon case sensitivity, work around Win32 SDL bug (hang on audio exit)
svn-id: r4421
Diffstat (limited to 'sdl.cpp')
-rw-r--r-- | sdl.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -208,7 +208,13 @@ void Normal3x(uint8 *srcPtr, uint32 srcPitch, uint8 *null, void atexit_proc() { SDL_ShowCursor(SDL_ENABLE); - SDL_Quit(); + + SDL_QuitSubSystem(SDL_INIT_VIDEO); + SDL_QuitSubSystem(SDL_INIT_TIMER); + SDL_QuitSubSystem(SDL_INIT_CDROM); +#ifndef WIN32 // FIXME: SDL bug - closing audio freezes w/ waveout + SDL_QuitSubSystem(SDL_INIT_AUDIO); +#endif } OSystem *OSystem_SDL::create(int gfx_mode, bool full_screen) { |