(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
This commit is contained in:
barbudreadmon 2020-05-22 12:02:19 +02:00 committed by GitHub
parent f2bb7e29a4
commit 2052f1595c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;