mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-29 21:28:37 +01:00
Initial support for disabling logging, to provide a possible boost in performance for games that spam the log like crazy.
This commit is contained in:
1 parent
8602c276ca
commit
528d81151a
6 files changed
+25
-6
No files matched your search
+9
-2
@@ -769,8 +769,15 @@ void DeveloperScreen::render() {
|
||||
|
||||
bool reportingEnabled = Reporting::IsEnabled();
|
||||
const static std::string reportHostOfficial = "report.ppsspp.org";
|
||||
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("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..
|
||||
}
|
||||
UICheckBox(GEN_ID, x, y += stride, d->T("New UI"), ALIGN_TOPLEFT, &g_Config.bNewUI);
|
||||
|
||||
|
||||
Reference in new issue
Block a user