mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
Assorted fixes to auto resolution. Fixes too low resolution and also #8002, plus notification spam
This commit is contained in:
1 parent
eed2f9d9d5
commit
70cb4372c1
6 files changed
+16
-12
No files matched your search
@@ -1667,10 +1667,10 @@ void FramebufferManager::EndFrame() {
|
||||
int zoom = g_Config.iInternalResolution;
|
||||
if (zoom == 0) { // auto mode
|
||||
// Use the longest dimension
|
||||
if (g_Config.IsPortrait()) {
|
||||
zoom = (pixelWidth_ + 479) / 480;
|
||||
if (!g_Config.IsPortrait()) {
|
||||
zoom = (PSP_CoreParameter().pixelWidth + 479) / 480;
|
||||
} else {
|
||||
zoom = (pixelHeight_ + 479) / 480;
|
||||
zoom = (PSP_CoreParameter().pixelHeight + 479) / 480;
|
||||
}
|
||||
}
|
||||
if (zoom <= 1)
|
||||
|
||||
Reference in new issue
Block a user