mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-09 22:23:42 +02:00
Correct checkboxes and remove old comments.
This commit is contained in:
+4
-7
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user