[Scummvm-cvs-logs] CVS: scummvm/base main.cpp,1.36,1.37

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Wed Feb 25 00:19:05 CET 2004


Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21284

Modified Files:
	main.cpp 
Log Message:
Honor per-game aspect-ratio correction setting when starting the game from
the launcher.


Index: main.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/main.cpp,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- main.cpp	24 Feb 2004 22:39:38 -0000	1.36
+++ main.cpp	25 Feb 2004 08:03:31 -0000	1.37
@@ -245,9 +245,12 @@
 		}
 	}
 
+	// (De)activate aspect-ratio correction as determined by the config settings
+	system->setFeatureState(OSystem::kFeatureAspectRatioCorrection, ConfMan.getBool("aspect_ratio"));
+	
 	// (De)activate fullscreen mode as determined by the config settings 
 	system->setFeatureState(OSystem::kFeatureFullscreenMode, ConfMan.getBool("fullscreen"));
-	
+
 	// Create the game engine
 	Engine *engine = detector.createEngine(system);
 	assert(engine);





More information about the Scummvm-git-logs mailing list