final compile issue fixed

This commit is contained in:
souldbminersmwc
2025-09-02 18:57:57 -04:00
parent 941b790a6f
commit a3fe738ed5
2 changed files with 3 additions and 2 deletions

View File

@@ -111,7 +111,8 @@ void SafetyCheck() {
}
sValidator validators[] = {
{ C.commonCpuBoostClock, 1020'000, 3010'000, true },
{ C.marikoCpuBoostClock, 1020'000, 3010'000, true },
{ C.eristaCpuBoostClock, 1020'000, 2100'000, true },
{ C.commonEmcMemVolt, 1000'000, C.MemVltMax + 1 },
{ C.eristaCpuMaxVolt, 1100, C.eristaCPUvMax + 1 },
{ C.eristaEmcMaxClock, 1600'000, 2428'800 },

View File

@@ -23,7 +23,7 @@ namespace ams::ldr::oc::ptm {
bool isMariko = true;
#endif
Result CpuPtmBoost(perf_conf_entry* entry) {
if (!C.commonCpuBoostClock)
if (!C.marikoCpuBoostClock || !C.eristaCpuBoostClock)
R_SUCCEED();
u32 cpuPtmBoostNew;
if(isMariko) {