mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-30 19:24:23 +01:00
Remove VPS limit option
This commit is contained in:
1 parent
86e207ea85
commit
ca7339327a
4 files changed
+18
-55
No files matched your search
+3
-22
@@ -404,32 +404,13 @@ void PauseScreen::render() {
|
||||
int y = 50;
|
||||
int stride = 40;
|
||||
int columnw = 400;
|
||||
int columnws = 300;
|
||||
|
||||
// Shared with settings
|
||||
I18NCategory *ss = GetI18NCategory("System");
|
||||
I18NCategory *gs = GetI18NCategory("Graphics");
|
||||
I18NCategory *a = GetI18NCategory("Audio");
|
||||
|
||||
UICheckBox(GEN_ID, x, y += stride, gs->T("Unlock VPS"), ALIGN_TOPLEFT, &g_Config.bVpsLimit);
|
||||
UICheckBox(GEN_ID, x+ columnws, y, ss->T("Show VPS"), ALIGN_TOPLEFT, &g_Config.bShowFPSCounter);
|
||||
if (g_Config.bVpsLimit) {
|
||||
float getvps= g_Config.iNumVps;
|
||||
char showvps[256];
|
||||
sprintf(showvps, "VPS Limit: %0.0f", getvps);
|
||||
ui_draw2d.DrawText(UBUNTU24, showvps, dp_xres - 8, 12, 0xc0000000, ALIGN_TOPRIGHT);
|
||||
ui_draw2d.DrawText(UBUNTU24, showvps, dp_xres - 10, 10, 0xFF3fFF3f, ALIGN_TOPRIGHT);
|
||||
ui_draw2d.DrawText(UBUNTU24, gs->T("VPS :"), x + 60, y += stride + 10, 0xFFFFFFFF, ALIGN_LEFT);
|
||||
HLinear hlinear1(x + 150 , y + 5, 20);
|
||||
if (UIButton(GEN_ID, hlinear1, 80, 0, "Auto", ALIGN_LEFT))
|
||||
g_Config.iNumVps = 90;
|
||||
if (UIButton(GEN_ID, hlinear1, 55, 0, "-10", ALIGN_LEFT))
|
||||
if(g_Config.iNumVps!=10){
|
||||
g_Config.iNumVps -= 10;}
|
||||
if (UIButton(GEN_ID, hlinear1, 55, 0, "+10", ALIGN_LEFT))
|
||||
if(g_Config.iNumVps!=120){
|
||||
g_Config.iNumVps += 10;}
|
||||
}
|
||||
UICheckBox(GEN_ID, x, y += stride, ss->T("Show FPS"), ALIGN_TOPLEFT, &g_Config.bShowFPSCounter);
|
||||
UICheckBox(GEN_ID, x, y += stride, a->T("Enable Sound"), ALIGN_TOPLEFT, &g_Config.bEnableSound);
|
||||
// TODO: Maybe shouldn't show this if the screen ratios are very close...
|
||||
UICheckBox(GEN_ID, x, y += stride, gs->T("Stretch to Display"), ALIGN_TOPLEFT, &g_Config.bStretchToDisplay);
|
||||
@@ -449,8 +430,8 @@ void PauseScreen::render() {
|
||||
float getfskip= g_Config.iFrameSkip;
|
||||
char showfskip[256];
|
||||
sprintf(showfskip, "Skip Frames: %0.0f", getfskip);
|
||||
ui_draw2d.DrawText(UBUNTU24, showfskip, dp_xres - 8, 42, 0xc0000000, ALIGN_TOPRIGHT);
|
||||
ui_draw2d.DrawText(UBUNTU24, showfskip, dp_xres - 10, 40, 0xFF3fFF3f, ALIGN_TOPRIGHT);
|
||||
ui_draw2d.DrawText(UBUNTU24, showfskip, dp_xres - 8, 12, 0xc0000000, ALIGN_TOPRIGHT);
|
||||
ui_draw2d.DrawText(UBUNTU24, showfskip, dp_xres - 10, 10, 0xFF3fFF3f, ALIGN_TOPRIGHT);
|
||||
ui_draw2d.DrawText(UBUNTU24, gs->T("Frames :"), x + 60, y += stride + 10, 0xFFFFFFFF, ALIGN_LEFT);
|
||||
HLinear hlinear1(x + 200 , y + 5, 20);
|
||||
if (UIButton(GEN_ID, hlinear1, 80, 0, "Auto", ALIGN_LEFT))
|
||||
|
||||
Reference in new issue
Block a user