mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Qt: Default to 2x PSP window size.
This commit is contained in:
parent
ba908b7b1e
commit
7258f8cae3
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue