We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b04a07c commit ced9c94Copy full SHA for ced9c94
src/configuration.cpp
@@ -118,11 +118,12 @@ bool loadConfig()
118
war_SetTrapCursor(ini.value("trapCursor", false).toBool());
119
war_SetVsync(ini.value("vsync", true).toBool());
120
121
- int width = ini.value("width", 0).toInt();
122
- int height = ini.value("height", 0).toInt();
+ int width = ini.value("width", 800).toInt();
+ int height = ini.value("height", 600).toInt();
123
if (width < 640 || height < 480) // sanity check
124
{
125
- height = width = 0;
+ width = 640;
126
+ height = 480;
127
}
128
pie_SetVideoBufferWidth(width);
129
pie_SetVideoBufferHeight(height);
0 commit comments