Reporting: Don't report with locked CPU speed.

This commit is contained in:
Unknown W. Brackets 2017-12-01 10:06:06 -08:00
parent a0e4b6ad0b
commit 786a3ae17c

View File

@ -457,8 +457,7 @@ namespace Reporting
return false; return false;
if (CheatsInEffect()) if (CheatsInEffect())
return false; return false;
// Not sure if we should support locked cpu at all, but definitely not far out values. if (g_Config.iLockedCPUSpeed != 0)
if (g_Config.iLockedCPUSpeed != 0 && (g_Config.iLockedCPUSpeed < 111 || g_Config.iLockedCPUSpeed > 333))
return false; return false;
// Don't allow builds without version info from git. They're useless for reporting. // Don't allow builds without version info from git. They're useless for reporting.
if (strcmp(PPSSPP_GIT_VERSION, "unknown") == 0) if (strcmp(PPSSPP_GIT_VERSION, "unknown") == 0)