diff options
-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); } |