Skip to content

Commit

Permalink
Don't use a custom resolution for Switch
Browse files Browse the repository at this point in the history
Switch is 16:9, so the standard widescreen resolution should work fine.
  • Loading branch information
xordspar0 committed Nov 27, 2022
1 parent f7f1eea commit 3ca02b4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/graphics/Renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,10 @@ bool Renderer::setResolution(int scale, bool newWidescreen)
newWidth = 480;
newHeight = 272;
newWidescreen = true;
#elif defined(__SWITCH__)
newWidth = 480;
newHeight = 270;
newWidescreen = true;
#else
#if defined(__SWITCH__)
newWidescreen = true;
#endif
if (newWidescreen) {
newWidth = 432;
newHeight = 243;
Expand Down

0 comments on commit 3ca02b4

Please sign in to comment.