Assorted fixes to auto resolution. Fixes too low resolution and also #8002, plus notification spam

This commit is contained in:
Henrik Rydgard committed 2015-09-25 19:10:09 +02:00
1 parent eed2f9d9d5
commit 70cb4372c1
6 files changed
+16 -12

No files matched your search

+3 -3
View File
@@ -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)