mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-26 01:40:24 +00:00
Merge
This commit is contained in:
commit
ec52816c17
@ -99,7 +99,9 @@ void Config::Load(const char *iniFileName)
|
||||
graphics->Get("LinearFiltering", &bLinearFiltering, false);
|
||||
graphics->Get("SSAA", &SSAntiAliasing, 0);
|
||||
graphics->Get("VBO", &bUseVBO, false);
|
||||
graphics->Get("FrameSkip", &bFrameSkip, 0);
|
||||
graphics->Get("FrameSkip", &bFrameSkip, false);
|
||||
graphics->Get("XBRZTexScaling", &bXBRZTexScaling, false);
|
||||
graphics->Get("XBRZTexScalingLevel", &iXBRZTexScalingLevel, 1);
|
||||
graphics->Get("UseMediaEngine", &bUseMediaEngine, true);
|
||||
#ifdef USING_GLES2
|
||||
graphics->Get("AnisotropicFiltering", &bAnisotropicFiltering, true);
|
||||
@ -191,6 +193,8 @@ void Config::Save()
|
||||
graphics->Set("SSAA", SSAntiAliasing);
|
||||
graphics->Set("VBO", bUseVBO);
|
||||
graphics->Set("FrameSkip", bFrameSkip);
|
||||
graphics->Set("XBRZTexScaling", bXBRZTexScaling);
|
||||
graphics->Set("XBRZTexScalingLevel", iXBRZTexScalingLevel);
|
||||
graphics->Set("UseMediaEngine", bUseMediaEngine);
|
||||
graphics->Set("AnisotropicFiltering", bAnisotropicFiltering);
|
||||
graphics->Set("VertexCache", bVertexCache);
|
||||
|
@ -60,7 +60,7 @@ public:
|
||||
bool bLinearFiltering;
|
||||
bool bUseVBO;
|
||||
bool bStretchToDisplay;
|
||||
bool bFrameSkip; // 0 = off; 1 = auto; (future: 2 = skip every 2nd frame; 3 = skip every 3rd frame etc).
|
||||
bool bFrameSkip;
|
||||
int iNumSkip;
|
||||
bool bUseMediaEngine;
|
||||
|
||||
|
@ -734,6 +734,16 @@ void GraphicsScreenP2::render() {
|
||||
} else
|
||||
g_Config.iAnisotropyLevel = 0;
|
||||
|
||||
UICheckBox(GEN_ID, x, y += stride, gs->T("xBRZ Texture Scaling"), ALIGN_TOPLEFT, &g_Config.bXBRZTexScaling);
|
||||
if (g_Config.bXBRZTexScaling) {
|
||||
ui_draw2d.DrawText(UBUNTU24, gs->T("Level :"), x + 60, y += stride + 10, 0xFFFFFFFF, ALIGN_LEFT);
|
||||
HLinear hlinear1(x + 160 , y + 5, 20);
|
||||
if (UIButton(GEN_ID, hlinear1, 45, 0, "2x", ALIGN_LEFT))
|
||||
g_Config.iXBRZTexScalingLevel = 2;
|
||||
if (UIButton(GEN_ID, hlinear1, 45, 0, "3x", ALIGN_LEFT))
|
||||
g_Config.iXBRZTexScalingLevel = 3;
|
||||
} else
|
||||
g_Config.iXBRZTexScalingLevel = 1;
|
||||
UIEnd();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user