Skip to content

Commit

Permalink
Adjust the Vita's resolution to be 240 pixels tall
Browse files Browse the repository at this point in the history
The new resolution is still 16:10, but the viewport won't reveal things
that aren't supposed to be shown if the hieght is 240 pixels tall.
  • Loading branch information
xordspar0 committed Nov 27, 2022
1 parent 3ca02b4 commit 8ff2c57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/graphics/Renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ bool Renderer::setResolution(int scale, bool newWidescreen)
{
int newWidth, newHeight;
#if defined(__VITA__)
newWidth = 480;
newHeight = 272;
newWidth = 384;
newHeight = 240;
newWidescreen = true;
#else
#if defined(__SWITCH__)
Expand Down

0 comments on commit 8ff2c57

Please sign in to comment.