Safe CPU/GPU OC clock: 1963.5/1267.2 MHz

This commit is contained in:
KazushiM
2021-10-26 18:59:08 +08:00
parent e21d7ca6f5
commit c8727f0b91
4 changed files with 6 additions and 10 deletions

View File

@@ -444,13 +444,7 @@ bool ClockManager::RefreshContext()
// restore clocks to stock values on app or profile change
if(hasChanged)
{
if (profile == SysClkProfile_Handheld)
MAX_CPU = 1963'500'000;
else
MAX_CPU = 2295'000'000;
Clocks::ResetToStock();
}
std::uint32_t hz = 0;
for (unsigned int module = 0; module < SysClkModule_EnumMax; module++)

View File

@@ -20,7 +20,7 @@
class ClockManager
{
public:
std::uint32_t MAX_CPU = 1963500000;
const std::uint32_t MAX_CPU = 1963500000;
static ClockManager* GetInstance();
static void Initialize();