Merge pull request #10683 from barbudreadmon/patch-5
(vita) try at fixing upside-down vertical games
This commit is contained in:
commit
00d7c40c7a
|
@ -210,7 +210,7 @@ static bool vita2d_gfx_frame(void *data, const void *frame,
|
||||||
PSP_FB_HEIGHT / (float)vita->height);
|
PSP_FB_HEIGHT / (float)vita->height);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
const float radian = 90 * 0.0174532925f;
|
const float radian = 270 * 0.0174532925f;
|
||||||
const float rad = vita->rotation * radian;
|
const float rad = vita->rotation * radian;
|
||||||
float scalex = vita->vp.width / (float)vita->width;
|
float scalex = vita->vp.width / (float)vita->width;
|
||||||
float scaley = vita->vp.height / (float)vita->height;
|
float scaley = vita->vp.height / (float)vita->height;
|
||||||
|
|
Loading…
Reference in New Issue