aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJames Brown2002-11-25 09:43:22 +0000
committerJames Brown2002-11-25 09:43:22 +0000
commit850428d1a500c5c01e4aa5b31cd8092fa66a991f (patch)
tree6092f412ac46268d260e80f09d307c395fc7b265 /scumm
parentefb40c99e8fb791ac041d9e13c55e1a70b193cca (diff)
downloadscummvm-rg350-850428d1a500c5c01e4aa5b31cd8092fa66a991f.tar.gz
scummvm-rg350-850428d1a500c5c01e4aa5b31cd8092fa66a991f.tar.bz2
scummvm-rg350-850428d1a500c5c01e4aa5b31cd8092fa66a991f.zip
Add a few EditGame options. Honor game-specific fullScreen from the Launcher
svn-id: r5715
Diffstat (limited to 'scumm')
-rw-r--r--scumm/scummvm.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index 06579fbbce..b674c6556e 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -36,6 +36,7 @@
#include "object.h"
#include "resource.h"
#include "string.h"
+#include "common/config-file.h"
#ifdef _WIN32_WCE
extern void drawError(char*);
@@ -144,6 +145,11 @@ Scumm::Scumm (GameDetector *detector, OSystem *syst)
if (prop.cd_num >= 0 && (_features & GF_AUDIOTRACKS))
syst->property(OSystem::PROP_OPEN_CD, &prop);
+ if (g_config->getBool("fullscreen", false)) {
+ if (!_system->property(OSystem::PROP_GET_FULLSCREEN, 0))
+ _system->property(OSystem::PROP_TOGGLE_FULLSCREEN, 0);
+ }
+
/* Bind the mixer to the system => mixer will be invoked
* automatically when samples need to be generated */
_silentDigitalImuse = false;