diff options
author | James Brown | 2003-07-05 09:08:53 +0000 |
---|---|---|
committer | James Brown | 2003-07-05 09:08:53 +0000 |
commit | d5aa3bd41c83f33a0038a0a48e90b98e411bc46f (patch) | |
tree | 82a5a3d64128f1873868ddab2bb56b309f49b959 /sky/sky.cpp | |
parent | 12a04c8e52013b21aed7c8c2feecdfaa53416779 (diff) | |
download | scummvm-rg350-d5aa3bd41c83f33a0038a0a48e90b98e411bc46f.tar.gz scummvm-rg350-d5aa3bd41c83f33a0038a0a48e90b98e411bc46f.tar.bz2 scummvm-rg350-d5aa3bd41c83f33a0038a0a48e90b98e411bc46f.zip |
Fix sky fullscreen from launcher
svn-id: r8766
Diffstat (limited to 'sky/sky.cpp')
-rw-r--r-- | sky/sky.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sky/sky.cpp b/sky/sky.cpp index 90bceeac53..77a5408b6a 100644 --- a/sky/sky.cpp +++ b/sky/sky.cpp @@ -184,6 +184,13 @@ void SkyState::initialise(void) { else _skyMusic = new SkyGmMusic(_detector->createMidi(), _skyDisk, _system); } + + // Override global fullscreen setting with any game-specific define + if (g_config->getBool("fullscreen", false)) { + if (!_system->property(OSystem::PROP_GET_FULLSCREEN, 0)) + _system->property(OSystem::PROP_TOGGLE_FULLSCREEN, 0); + } + if (isCDVersion()) _systemVars.systemFlags |= SF_ALLOW_SPEECH | SF_ALLOW_TEXT; else |