Skip to content

Commit

Permalink
Vita: - fixed up some menu text\n - adjusted quickswitch screenmodes …
Browse files Browse the repository at this point in the history
…by two pixels
  • Loading branch information
rsn8887 committed Jan 3, 2017
1 parent 986e615 commit d0d0063
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 18 deletions.
18 changes: 14 additions & 4 deletions src/gp2x/menu/menu_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ static const char *text_str_exit= "Quit (L-trigger)";
#else
static const char *text_str_exit= "Quit (Q)";
#endif
#ifdef __PSP2__
static const char *text_str_custom= "Custom Control Config";
#else
static const char *text_str_custom= "Custom Control Config (Y)";
#endif
#ifdef __PSP2__
static const char *text_str_more= "More Options";
#else
static const char *text_str_more= "More Options (B)";
#endif

int mainMenu_case=-1;
int mainMenu_system=-1;
Expand Down Expand Up @@ -348,16 +358,16 @@ static void draw_mainMenu(int c)
// 11
menuLine+=2;
if ((c==10)&&(bb))
write_text_inv(leftMargin,menuLine,"Custom Control Config (Y)");
write_text_inv(leftMargin,menuLine,text_str_custom);
else
write_text(leftMargin,menuLine,"Custom Control Config (Y)");
write_text(leftMargin,menuLine,text_str_custom);

// 12
menuLine+=2;
if ((c==11)&&(bb))
write_text_inv(leftMargin,menuLine,"More Options (B)");
write_text_inv(leftMargin,menuLine,text_str_more);
else
write_text(leftMargin,menuLine,"More Options (B)");
write_text(leftMargin,menuLine,text_str_more);

menuLine++;
write_text(leftMargin,menuLine,text_str_separator);
Expand Down
28 changes: 14 additions & 14 deletions src/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,20 +90,20 @@ struct myRes
int top_pos;
};
static myRes quickSwitchModes[] = {
{192, 0},
{200, 0},
{216, 0},
{224, 0},
{240, 0},
{256, 0},
{270, 0},
{192, 14},
{200, 14},
{216, 14},
{224, 14},
{240, 14},
{256, 14},
{270, 14},
{192, 2},
{200, 2},
{216, 2},
{224, 2},
{240, 2},
{256, 2},
{270, 2},
{192, 16},
{200, 16},
{216, 16},
{224, 16},
{240, 16},
{256, 16},
{270, 16},
};
extern int moveY;

Expand Down

0 comments on commit d0d0063

Please sign in to comment.