mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-30 19:24:23 +01:00
Cache reporting support to avoid slowdown.
Turns out checking flash0:/ was not fast, oops, but especially when disabled. Also, make the box show as disabled when it's been disabled during the session, and make it not do that in the menu.
This commit is contained in:
1 parent
96a19ea982
commit
3dea6fdd86
4 files changed
+18
-4
No files matched your search
@@ -368,6 +368,7 @@ UI::EventReturn GameSettingsScreen::OnImmersiveModeChange(UI::EventParams &e) {
|
||||
UI::EventReturn GameSettingsScreen::OnRenderingMode(UI::EventParams &e) {
|
||||
// We do not want to report when rendering mode is Framebuffer to memory - so many issues
|
||||
// are caused by that (framebuffer copies overwriting display lists, etc).
|
||||
Reporting::UpdateConfig();
|
||||
enableReports_ = Reporting::IsEnabled();
|
||||
enableReportsCheckbox_->SetEnabled(Reporting::IsSupported());
|
||||
|
||||
@@ -449,6 +450,7 @@ void GameSettingsScreen::onFinish(DialogResult result) {
|
||||
}
|
||||
|
||||
Reporting::Enable(enableReports_, "report.ppsspp.org");
|
||||
Reporting::UpdateConfig();
|
||||
g_Config.Save();
|
||||
|
||||
host->UpdateUI();
|
||||
|
||||
Reference in new issue
Block a user