Fix sky fullscreen from launcher

svn-id: r8766
This commit is contained in:
James Brown 2003-07-05 09:08:53 +00:00
parent 12a04c8e52
commit d5aa3bd41c

View File

@ -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