mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix bug that turned on reporting for everyone as soon as they went into
settings the first time.
This commit is contained in:
parent
e4ee9f50e6
commit
a4f5ad6ee0
2 changed files with 3 additions and 3 deletions
|
@ -73,7 +73,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename)
|
|||
iMaxRecent = 12;
|
||||
|
||||
// "default" means let emulator decide, "" means disable.
|
||||
general->Get("ReportHost", &sReportHost, "default");
|
||||
general->Get("ReportingHost", &sReportHost, "default");
|
||||
general->Get("Recent", recentIsos);
|
||||
general->Get("AutoSaveSymbolMap", &bAutoSaveSymbolMap, false);
|
||||
#ifdef _WIN32
|
||||
|
|
|
@ -343,7 +343,7 @@ void GameSettingsScreen::CreateViews() {
|
|||
#endif
|
||||
systemSettings->Add(new PopupSliderChoice(&g_Config.iLockedCPUSpeed, 0, 1000, gs->T("Change CPU Clock", "Change CPU Clock (0 = default)"), screenManager()));
|
||||
|
||||
enableReports_ = g_Config.sReportHost != "";
|
||||
enableReports_ = g_Config.sReportHost != "default";
|
||||
|
||||
#ifndef ANDROID
|
||||
systemSettings->Add(new ItemHeader(s->T("Cheats", "Cheats (experimental, see forums)")));
|
||||
|
@ -450,7 +450,7 @@ UI::EventReturn GameSettingsScreen::OnBack(UI::EventParams &e) {
|
|||
Atrac3plus_Decoder::Init();
|
||||
else Atrac3plus_Decoder::Shutdown();
|
||||
}
|
||||
g_Config.sReportHost = enableReports_ ? "report.ppsspp.org" : "";
|
||||
g_Config.sReportHost = enableReports_ ? "report.ppsspp.org" : "default";
|
||||
g_Config.Save();
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
Loading…
Add table
Reference in a new issue