From a3fe738ed5bb0957e2cb787021398bcdeb0f2b99 Mon Sep 17 00:00:00 2001 From: souldbminersmwc Date: Tue, 2 Sep 2025 18:57:57 -0400 Subject: [PATCH] final compile issue fixed --- Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.cpp | 3 ++- Source/Atmosphere/stratosphere/loader/source/oc/ptm/ptm.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.cpp b/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.cpp index fb0eec81..a28095df 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.cpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.cpp @@ -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 }, diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/ptm/ptm.cpp b/Source/Atmosphere/stratosphere/loader/source/oc/ptm/ptm.cpp index 328129a2..128ce239 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/ptm/ptm.cpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/ptm/ptm.cpp @@ -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) {