@@ -28,10 +28,10 @@ Result CpuPtmBoost(perf_conf_entry* entry) {
|
||||
bool isMariko = true;
|
||||
#endif
|
||||
|
||||
if ((C.eristaCpuBoostClock <= 1785000) || C.marikoCpuBoostClock <= 1785000)
|
||||
if (!C.eristaCpuBoostClock || !C.marikoCpuBoostClock)
|
||||
R_SUCCEED();
|
||||
|
||||
u32 cpuPtmBoostNew = isMariko ? (C.marikoCpuBoostClock * 1000) : (C.eristaCpuBoostClock * 1000);
|
||||
u32 cpuPtmBoostNew = isMariko ? C.marikoCpuBoostClock * 1000 : C.eristaCpuBoostClock * 1000;
|
||||
|
||||
PATCH_OFFSET(&(entry->cpu_freq_1), cpuPtmBoostNew);
|
||||
PATCH_OFFSET(&(entry->cpu_freq_2), cpuPtmBoostNew);
|
||||
|
||||
Reference in New Issue
Block a user