Added cd audio stop patch from Gregory Montoir
svn-id: r4126
This commit is contained in:
parent
c60c97b1d4
commit
2ac1bba109
1 changed files with 4 additions and 0 deletions
4
sdl.cpp
4
sdl.cpp
|
@ -949,6 +949,10 @@ uint32 OSystem_SDL::property(int param, uint32 value) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void OSystem_SDL::quit() {
|
void OSystem_SDL::quit() {
|
||||||
|
if(cdrom) {
|
||||||
|
SDL_CDStop(cdrom);
|
||||||
|
SDL_CDClose(cdrom);
|
||||||
|
}
|
||||||
unload_gfx_mode();
|
unload_gfx_mode();
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue