mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
SDL: Allow --xres and --yres to work even if a config file exists
This commit is contained in:
parent
1ff7710854
commit
fb8f8ca52f
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue