diff --git a/UI/MenuScreens.cpp b/UI/MenuScreens.cpp index 7780247f2a..24365d2cff 100644 --- a/UI/MenuScreens.cpp +++ b/UI/MenuScreens.cpp @@ -733,32 +733,6 @@ void GraphicsScreenP2::render() { int stride = 40; int columnw = 400; - bool enableFrameSkip = g_Config.iFrameSkip != 0; - UICheckBox(GEN_ID, x, y += stride, gs->T("Frame Skipping"), ALIGN_TOPLEFT, &enableFrameSkip); - if (enableFrameSkip) { - if (g_Config.iFrameSkip == 0) - g_Config.iFrameSkip = 3; - - float getfskip= g_Config.iFrameSkip; - char showfskip[256]; - sprintf(showfskip, "Skip Frames: %0.0f", getfskip); - 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("Frame :"), x + 60, y += stride, 0xFFFFFFFF, ALIGN_LEFT); - HLinear hlinear1(x + 180 , y, 20); - if (UIButton(GEN_ID, hlinear1, 80, 0, "Auto", ALIGN_LEFT)) - g_Config.iFrameSkip = 3; - if (UIButton(GEN_ID, hlinear1, 40, 0, "-1", ALIGN_LEFT)) - if(g_Config.iFrameSkip>0){ - g_Config.iFrameSkip -= 1;} - if (UIButton(GEN_ID, hlinear1, 40, 0, "+1", ALIGN_LEFT)) - if(g_Config.iFrameSkip!=9){ - g_Config.iFrameSkip += 1;} - } - else { - g_Config.iFrameSkip = 0; - } - bool FpsLimit = g_Config.iFpsLimit != 0; UICheckBox(GEN_ID, x, y += stride + 15, gs->T("Fps Limit"), ALIGN_TOPLEFT, &FpsLimit); if (FpsLimit) {