mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
SDL: Allow --xres and --yres to work even if a config file exists
This commit is contained in:
1 parent
1ff7710854
commit
fb8f8ca52f
1 file changed
+2
-2
+2
-2
@@ -1317,9 +1317,9 @@ int main(int argc, char *argv[]) {
|
||||
x = g_Config.iWindowX;
|
||||
if (g_Config.iWindowY != -1)
|
||||
y = g_Config.iWindowY;
|
||||
if (g_Config.iWindowWidth > 0)
|
||||
if (g_Config.iWindowWidth > 0 && set_xres <= 0)
|
||||
w = g_Config.iWindowWidth;
|
||||
if (g_Config.iWindowHeight > 0)
|
||||
if (g_Config.iWindowHeight > 0 && set_yres <= 0)
|
||||
h = g_Config.iWindowHeight;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user