Added cd audio stop patch from Gregory Montoir

svn-id: r4126
This commit is contained in:
Travis Howell 2002-04-28 07:38:22 +00:00
parent c60c97b1d4
commit 2ac1bba109

View file

@ -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);
}