Fix: No escrivia be la configuració de pantalla completa

This commit is contained in:
2025-02-17 18:58:48 +01:00
parent 2e6436cc4e
commit 62a61ecad4

View File

@@ -601,12 +601,12 @@ bool Director::saveConfigFile()
else if (options->videoMode == SDL_WINDOW_FULLSCREEN)
{
file << "fullScreenMode=SDL_WINDOW_FULLSCREEN\n";
file << "videoMode=SDL_WINDOW_FULLSCREEN\n";
}
else if (options->videoMode == SDL_WINDOW_FULLSCREEN_DESKTOP)
{
file << "fullScreenMode=SDL_WINDOW_FULLSCREEN_DESKTOP\n";
file << "videoMode=SDL_WINDOW_FULLSCREEN_DESKTOP\n";
}
file << "windowSize=" + std::to_string(options->windowSize) + "\n";