Skip to content

Commit

Permalink
Small top screen layout adjustments.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikelChan committed Nov 21, 2021
1 parent d4632d6 commit 262645f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SpaceCadetPinball/winmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,13 @@ int winmain::WinMain(LPCSTR lpCmdLine)
n3ds_graphics::BeginRender(IsNew3DS ? true : single_step);

float tableQuadWidth = GSP_SCREEN_WIDTH * (360.0f / render::vscreen->Height);
float infoQuadWidth = GSP_SCREEN_HEIGHT_TOP - tableQuadWidth - 6.0f;
float infoQuadWidth = GSP_SCREEN_HEIGHT_TOP - tableQuadWidth - 24.0f;
float infoQuadHeight = infoQuadWidth / (203.0f / 219.0f);
float logoQuadWidth = GSP_SCREEN_WIDTH * (181.0f / 160.0f);

n3ds_graphics::DrawTopRenderTarget(0x000000ff);
n3ds_graphics::DrawQuad( // Table
3.0f + render::get_offset_x(),
16.0f + render::get_offset_x(),
-render::get_offset_y(),
tableQuadWidth,
GSP_SCREEN_WIDTH,
Expand Down

0 comments on commit 262645f

Please sign in to comment.