mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 23:40:39 +00:00
Correct checkboxes and remove old comments.
This commit is contained in:
parent
528d81151a
commit
b07c8155de
@ -292,9 +292,7 @@ void GlobalSettingsScreen::CreateViews() {
|
||||
list->Add(new ItemHeader("General"));
|
||||
list->Add(new CheckBox(&g_Config.bNewUI, gs->T("Enable New UI")));
|
||||
list->Add(new CheckBox(&g_Config.bEnableLogging, gs->T("Enable Logging")));
|
||||
if(g_Config.bEnableLogging)
|
||||
// No reason to show this if we're not logging at all, but it doesn't draw until one exits and re-enters the settings.
|
||||
list->Add(new CheckBox(&enableReports_, gs->T("Enable Error Reporting")));
|
||||
list->Add(new CheckBox(&enableReports_, gs->T("Enable Error Reporting")));
|
||||
list->Add(new CheckBox(&g_Config.bEnableCheats, gs->T("Enable Cheats")));
|
||||
list->Add(new CheckBox(&g_Config.bScreenshotsAsPNG, gs->T("Screenshots as PNG")));
|
||||
list->Add(new Choice(gs->T("Control Mapping")))->OnClick.Handle(this, &GlobalSettingsScreen::OnControlMapping);
|
||||
|
@ -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);
|
||||
|
@ -965,7 +965,6 @@ namespace MainWindow
|
||||
case ID_DEBUG_LOG:
|
||||
if(g_Config.bEnableLogging)
|
||||
LogManager::GetInstance()->GetConsoleListener()->Show(LogManager::GetInstance()->GetConsoleListener()->Hidden());
|
||||
//else LogManager::GetInstance()->GetConsoleListener()->Close();
|
||||
break;
|
||||
|
||||
case ID_OPTIONS_IGNOREILLEGALREADS:
|
||||
|
Loading…
Reference in New Issue
Block a user