From d5aa3bd41c83f33a0038a0a48e90b98e411bc46f Mon Sep 17 00:00:00 2001 From: James Brown Date: Sat, 5 Jul 2003 09:08:53 +0000 Subject: [PATCH] Fix sky fullscreen from launcher svn-id: r8766 --- sky/sky.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sky/sky.cpp b/sky/sky.cpp index 90bceeac531..77a5408b6a8 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