[Scummvm-cvs-logs] CVS: scummvm gameDetector.cpp,1.52,1.53

Nicolas Noble pixels at users.sourceforge.net
Fri May 3 12:18:19 CEST 2002


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

Modified Files:
	gameDetector.cpp 
Log Message:
SFX and Music volumes are now game-specific.


Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gameDetector.cpp,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- gameDetector.cpp	3 May 2002 18:05:33 -0000	1.52
+++ gameDetector.cpp	3 May 2002 19:17:15 -0000	1.53
@@ -197,7 +197,7 @@
 			case 'm':
 				HANDLE_OPTION();
 				_music_volume = atoi(option);
-				scummcfg->set("music_volume", _music_volume, "scummvm");
+				scummcfg->set("music_volume", _music_volume);
 				break;
 			case 'n':
 				CHECK_OPTION();
@@ -217,7 +217,7 @@
 			case 's':
 				HANDLE_OPTION();
 				_sfx_volume = atoi(option);
-				scummcfg->set("sfx_volume", _sfx_volume, "scummvm");
+				scummcfg->set("sfx_volume", _sfx_volume);
 				break;
 			case 't':
 				HANDLE_OPTION();





More information about the Scummvm-git-logs mailing list