From 59389621f96156acf83eb0b2b884742ecaa408f8 Mon Sep 17 00:00:00 2001 From: hanabbi Date: Sat, 24 Jun 2023 01:08:28 +0900 Subject: [PATCH] remove 2397, change cvb patch --- Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp | 2 +- Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp b/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp index 28cbc480..c82f8017 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp @@ -157,7 +157,7 @@ volatile CustomizeTable C = { { 2091000, { 1716501, -39395, 27 }, { 1235000 } }, { 2193000, { 1775132, -40505, 27 }, { 1235000 } }, { 2295000, { 1866287, -42005, 27 }, { 1235000 } }, - { 2397000, { 1961107, -43506, 27 }, { 1235000 } }, + //{ 2397000, { 1961107, -43506, 27 }, { 1235000 } }, }, .marikoCpuDvfsTableSLT = { diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.hpp b/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.hpp index 78466186..9b93a8ab 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.hpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.hpp @@ -178,7 +178,7 @@ Result CpuFreqCvbTable(u32* ptr) { cvb_entry_t* customize_table = const_cast(isMariko ? C.marikoCpuDvfsTable : C.eristaCpuDvfsTable); u32 cpu_max_volt = isMariko ? C.marikoCpuMaxVolt : C.eristaCpuMaxVolt; - u32 cpu_freq_threshold = isMariko ? 1020'000 : 1785'000; + u32 cpu_freq_threshold = isMariko ? (C.marikoCpuUV ? 2193'000 : 2091'000) : 1887'000; size_t default_entry_count = GetDvfsTableEntryCount(default_table); size_t default_table_size = default_entry_count * sizeof(cvb_entry_t);