Correct checkboxes and remove old comments.

This commit is contained in:
The Dax
2013-07-27 19:50:23 -04:00
parent 528d81151a
commit b07c8155de
3 changed files with 5 additions and 11 deletions
+4 -7
View File
@@ -771,14 +771,11 @@ void DeveloperScreen::render() {
const static std::string reportHostOfficial = "report.ppsspp.org";
UICheckBox(GEN_ID, x, y += stride, d->T("EnableLogging", "Enable Logging"), ALIGN_TOPLEFT, &g_Config.bEnableLogging);
if(g_Config.bEnableLogging) {
if (UICheckBox(GEN_ID, x, y += stride, d->T("Report","Enable Compatibility Server Reports"), ALIGN_TOPLEFT, &reportingEnabled)) {
g_Config.sReportHost = reportingEnabled ? reportHostOfficial : "";
}
}
else {
g_Config.sReportHost = reportingEnabled ? reportHostOfficial : ""; // Shouldn't be necessary, but just including it for safety..
if (UICheckBox(GEN_ID, x, y += stride, d->T("Report","Enable Compatibility Server Reports"), ALIGN_TOPLEFT, &reportingEnabled)) {
g_Config.sReportHost = reportingEnabled ? reportHostOfficial : "";
}
UICheckBox(GEN_ID, x, y += stride, d->T("New UI"), ALIGN_TOPLEFT, &g_Config.bNewUI);
VLinear vlinear(x, y + stride + 12, 16);