mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Qt: Prevent window resize, fixes #4594
This commit is contained in:
parent
89c136473f
commit
392abf4a26
@ -415,6 +415,7 @@ void MainWindow::fullscreenAct_triggered()
|
||||
g_Config.bFullScreen = true;
|
||||
|
||||
emugl->setFixedSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX);
|
||||
setMaximumSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX);
|
||||
|
||||
showFullScreen();
|
||||
|
||||
@ -459,6 +460,7 @@ void MainWindow::SetZoom(int zoom) {
|
||||
dp_yres = pixel_yres;
|
||||
|
||||
emugl->setFixedSize(pixel_xres, pixel_yres);
|
||||
setFixedSize(sizeHint());
|
||||
|
||||
PSP_CoreParameter().pixelWidth = pixel_xres;
|
||||
PSP_CoreParameter().pixelHeight = pixel_yres;
|
||||
|
Loading…
Reference in New Issue
Block a user