mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
Add option "Small Display", useful for large tablets to avoid overlapping touch controls with the screen.
Will later replace with a multiselect of different sizes, or something more advanced like multitouch drag & zoom of the screen to get it exactly where you want it.
This commit is contained in:
1 parent
737ef1c805
commit
c55578367f
4 files changed
+38
-26
No files matched your search
@@ -247,8 +247,12 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
|
||||
#ifdef BLACKBERRY
|
||||
partialStretchDefault = pixel_xres < 1.3 * pixel_yres;
|
||||
#endif
|
||||
|
||||
// TODO: Replace these settings with a list of options
|
||||
graphics->Get("PartialStretch", &bPartialStretch, partialStretchDefault);
|
||||
graphics->Get("StretchToDisplay", &bStretchToDisplay, false);
|
||||
graphics->Get("SmallDisplay", &bSmallDisplay, false);
|
||||
|
||||
graphics->Get("TrueColor", &bTrueColor, true);
|
||||
|
||||
graphics->Get("MipMap", &bMipMap, true);
|
||||
@@ -555,6 +559,7 @@ void Config::Save() {
|
||||
#endif
|
||||
graphics->Set("PartialStretch", bPartialStretch);
|
||||
graphics->Set("StretchToDisplay", bStretchToDisplay);
|
||||
graphics->Set("SmallDisplay", &bSmallDisplay);
|
||||
graphics->Set("TrueColor", bTrueColor);
|
||||
graphics->Set("MipMap", bMipMap);
|
||||
graphics->Set("TexScalingLevel", iTexScalingLevel);
|
||||
|
||||
Reference in new issue
Block a user