mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-06 09:06:55 +00:00
Qt: Default to 2x PSP window size.
This commit is contained in:
parent
ba908b7b1e
commit
7258f8cae3
@ -421,6 +421,10 @@ void MainWindow::SetWindowScale(int zoom) {
|
||||
fullscrAct();
|
||||
|
||||
int width, height;
|
||||
if (zoom == -1 && (g_Config.iWindowWidth <= 0 || g_Config.iWindowHeight <= 0)) {
|
||||
// Default to zoom level 2.
|
||||
zoom = 2;
|
||||
}
|
||||
if (zoom == -1) {
|
||||
// Take the last setting.
|
||||
width = g_Config.iWindowWidth;
|
||||
|
Loading…
x
Reference in New Issue
Block a user