mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
Typo fix. Will hopefully help #12992.
This commit is contained in:
parent
24e2d435b7
commit
4fa6c7fd7f
@ -100,7 +100,7 @@ void CenterDisplayOutputRect(FRect *rc, float origW, float origH, const FRect &f
|
||||
float pixelCrop = frame.h / 270.0f;
|
||||
float resCommonWidescreen = pixelCrop - floor(pixelCrop);
|
||||
if (!rotated && resCommonWidescreen == 0.0f && frame.w >= pixelCrop * 480.0f) {
|
||||
rc->x = floorf((frame.h - pixelCrop * 480.0f) * 0.5f);
|
||||
rc->x = floorf((frame.w - pixelCrop * 480.0f) * 0.5f);
|
||||
rc->y = floorf(-pixelCrop);
|
||||
rc->w = floorf(pixelCrop * 480.0f);
|
||||
rc->h = floorf(pixelCrop * 272.0f);
|
||||
|
Loading…
Reference in New Issue
Block a user