Config: Don't save --fullscreen unless changed.

This makes --fullscreen and --windowed temporary by using a separate
setting.  If the setting is changed explicitly, it begins saving it again.
This commit is contained in:
Unknown W. Brackets committed 2022-05-28 15:47:12 -07:00
1 parent 4c6f6b63dd
commit 3edf6ab0fa
12 files changed
+59 -31

No files matched your search

+1 -1
View File
@@ -671,7 +671,7 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
if (iCmdShow == SW_MAXIMIZE) {
// Consider this to mean --fullscreen.
g_Config.bFullScreen = true;
g_Config.iForceFullScreen = 1;
}
// Consider at least the following cases before changing this code: