diff options
author | Travis Howell | 2002-04-28 07:38:22 +0000 |
---|---|---|
committer | Travis Howell | 2002-04-28 07:38:22 +0000 |
commit | 2ac1bba109168e7e07f824f16b1bfdf36ef7546e (patch) | |
tree | ddb3c3deeb39daefa05c862d2f9a0369f98d19bf /sdl.cpp | |
parent | c60c97b1d4e573a45f6bef030284e915bb5b83f6 (diff) | |
download | scummvm-rg350-2ac1bba109168e7e07f824f16b1bfdf36ef7546e.tar.gz scummvm-rg350-2ac1bba109168e7e07f824f16b1bfdf36ef7546e.tar.bz2 scummvm-rg350-2ac1bba109168e7e07f824f16b1bfdf36ef7546e.zip |
Added cd audio stop patch from Gregory Montoir
svn-id: r4126
Diffstat (limited to 'sdl.cpp')
-rw-r--r-- | sdl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -949,6 +949,10 @@ uint32 OSystem_SDL::property(int param, uint32 value) { } void OSystem_SDL::quit() { + if(cdrom) { + SDL_CDStop(cdrom); + SDL_CDClose(cdrom); + } unload_gfx_mode(); exit(1); } |