mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 19:34:39 +01:00
String parsing now occurs only on start up and when pressing "reload cheats" button on system settings menu
This commit is contained in:
1 parent
880b80823b
commit
9a450f2c4d
4 files changed
+94
-95
No files matched your search
+5
-4
@@ -940,16 +940,17 @@ void SystemScreen::render() {
|
||||
g_Config.itimeformat = tf ? 1 : 0;
|
||||
}
|
||||
UICheckBox(GEN_ID, x, y += stride, s->T("Enable Cheats"), ALIGN_TOPLEFT, &g_Config.bEnableCheats);
|
||||
|
||||
HLinear hlinear2(x, y+110, 20);
|
||||
if (UIButton(GEN_ID, hlinear2, 210, 0, "Reload Cheats", ALIGN_TOPLEFT)) {
|
||||
g_Config.bReloadCheats = true;
|
||||
}
|
||||
bool reportingEnabled = Reporting::IsEnabled();
|
||||
const static std::string reportHostOfficial = "report.ppsspp.org";
|
||||
if (UICheckBox(GEN_ID, x, y += stride, s->T("Enable Compatibility Server Reports"), ALIGN_TOPLEFT, &reportingEnabled)) {
|
||||
g_Config.sReportHost = reportingEnabled ? reportHostOfficial : "";
|
||||
}
|
||||
|
||||
if (UIButton(GEN_ID, Pos(x, y += stride * 3), LARGE_BUTTON_WIDTH, 0, s->T("Language"), ALIGN_BOTTOMLEFT)) {
|
||||
screenManager()->push(new LanguageScreen());
|
||||
}
|
||||
|
||||
UIEnd();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user