mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
GRIM: Make sure fullscreen-state is saved to settings.
This commit is contained in:
@@ -599,6 +599,7 @@ void GrimEngine::mainLoop() {
|
||||
fullscreen = !fullscreen;
|
||||
}
|
||||
g_system->setFeatureState(OSystem::kFeatureFullscreenMode, fullscreen);
|
||||
g_registry->set("fullscreen", (fullscreen ? "true" : "false"));
|
||||
|
||||
uint screenWidth = g_driver->getScreenWidth();
|
||||
uint screenHeight = g_driver->getScreenHeight();
|
||||
|
||||
Reference in New Issue
Block a user