[Scummvm-cvs-logs] CVS: scummvm sdl.cpp,1.106,1.107

Travis Howell kirben at users.sourceforge.net
Sun Apr 28 13:09:58 CEST 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv10970a

Modified Files:
	sdl.cpp 
Log Message:

Added cd audio stop patch from Gregory Montoir


Index: sdl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sdl.cpp,v
retrieving revision 1.106
retrieving revision 1.107
diff -C2 -d -r1.106 -r1.107
*** sdl.cpp	28 Apr 2002 06:51:23 -0000	1.106
--- sdl.cpp	28 Apr 2002 07:38:22 -0000	1.107
***************
*** 950,953 ****
--- 950,957 ----
  		
  void OSystem_SDL::quit() {
+   if(cdrom) {
+     SDL_CDStop(cdrom);
+     SDL_CDClose(cdrom);
+   }
  	unload_gfx_mode();		
  	exit(1);





More information about the Scummvm-git-logs mailing list