mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
Partial Stretch: This setting is needed on other devices too.
This commit is contained in:
1 parent
10efbd5457
commit
c71186b35a
5 files changed
+2
-12
No files matched your search
@@ -133,11 +133,9 @@ void CenterRect(float *x, float *y, float *w, float *h,
|
||||
*x = 0.0f;
|
||||
*w = frameW;
|
||||
*h = frameW / origRatio;
|
||||
#ifdef BLACKBERRY
|
||||
// Stretch a little bit
|
||||
if (g_Config.bPartialStretch)
|
||||
*h = (frameH + *h) / 2.0f; // (408 + 720) / 2 = 564
|
||||
#endif
|
||||
*y = (frameH - *h) / 2.0f;
|
||||
} else {
|
||||
// Image is taller than frame. Center horizontally.
|
||||
|
||||
Reference in new issue
Block a user