Corregido error cargando la configuración

This commit is contained in:
2024-06-13 22:51:27 +02:00
parent 50078084ab
commit 95f19c0cd8
2 changed files with 3 additions and 3 deletions

View File

@@ -579,12 +579,12 @@ bool Director::saveConfigFile()
else if (options->video.mode == SDL_WINDOW_FULLSCREEN)
{
file << "fullScreenMode=SDL_WINDOW_FULLSCREEN\n";
file << "mode=SDL_WINDOW_FULLSCREEN\n";
}
else if (options->video.mode == SDL_WINDOW_FULLSCREEN_DESKTOP)
{
file << "fullScreenMode=SDL_WINDOW_FULLSCREEN_DESKTOP\n";
file << "mode=SDL_WINDOW_FULLSCREEN_DESKTOP\n";
}
file << "window.size=" + std::to_string(options->video.window.size) + "\n";