From 2052f1595c792f70ea5a1b302b89d5f652485169 Mon Sep 17 00:00:00 2001 From: barbudreadmon Date: Fri, 22 May 2020 12:02:19 +0200 Subject: [PATCH] (vita) try at fixing upside-down vertical games it is a blind commit, i don't have access to the hardware, see #6859 for more explanations --- gfx/drivers/vita2d_gfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers/vita2d_gfx.c b/gfx/drivers/vita2d_gfx.c index 781bb11e6e..69f59b30ea 100644 --- a/gfx/drivers/vita2d_gfx.c +++ b/gfx/drivers/vita2d_gfx.c @@ -210,7 +210,7 @@ static bool vita2d_gfx_frame(void *data, const void *frame, PSP_FB_HEIGHT / (float)vita->height); else { - const float radian = 90 * 0.0174532925f; + const float radian = 270 * 0.0174532925f; const float rad = vita->rotation * radian; float scalex = vita->vp.width / (float)vita->width; float scaley = vita->vp.height / (float)vita->height;