mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Optimizing the space to put in single line for frame skipping and fps limit
This commit is contained in:
parent
d821946da5
commit
8821528d01
1 changed files with 5 additions and 5 deletions
|
@ -881,8 +881,8 @@ void GraphicsScreenP3::render() {
|
|||
|
||||
char showFps[256];
|
||||
sprintf(showFps, "%s %d", gs->T("FPS :"), g_Config.iFpsLimit);
|
||||
ui_draw2d.DrawText(UBUNTU24, showFps, x + 60, (y += stride) - 5, 0xFFFFFFFF, ALIGN_LEFT);
|
||||
HLinear hlinear1(x + 60, y += stride, 20);
|
||||
ui_draw2d.DrawText(UBUNTU24, showFps, x + 60, y += stride , 0xFFFFFFFF, ALIGN_LEFT);
|
||||
HLinear hlinear1(x + 220, y, 20);
|
||||
if (UIButton(GEN_ID, hlinear1, 80, 0, gs->T("Auto"), ALIGN_LEFT))
|
||||
g_Config.iFpsLimit = 60;
|
||||
if (UIButton(GEN_ID, hlinear1, 45, 0, gs->T("-1"), ALIGN_LEFT))
|
||||
|
@ -904,8 +904,8 @@ void GraphicsScreenP3::render() {
|
|||
|
||||
char showFrameSkip[256];
|
||||
sprintf(showFrameSkip, "%s %d", gs->T("Frames :"), g_Config.iFrameSkip);
|
||||
ui_draw2d.DrawText(UBUNTU24, showFrameSkip, x + 60, (y += stride) - 5, 0xFFFFFFFF, ALIGN_LEFT);
|
||||
HLinear hlinear2(x + 60, y += stride, 20);
|
||||
ui_draw2d.DrawText(UBUNTU24, showFrameSkip, x + 60, y += stride, 0xFFFFFFFF, ALIGN_LEFT);
|
||||
HLinear hlinear2(x + 220, y, 20);
|
||||
if (UIButton(GEN_ID, hlinear2, 80, 0, gs->T("Auto"), ALIGN_LEFT))
|
||||
g_Config.iFrameSkip = 3;
|
||||
if (UIButton(GEN_ID, hlinear2, 40, 0, gs->T("-1"), ALIGN_LEFT))
|
||||
|
|
Loading…
Add table
Reference in a new issue