diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp b/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp index 5d3d9497..df87f518 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp @@ -162,6 +162,9 @@ volatile CustomizeTable C = { 0 /* 1152 (Disabled by default) */, }, + +.marikoCpuVmin = 600, + /* Advanced Settings: * - Erista CPU DVFS Table: */ diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp b/Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp index eb25151e..687dff55 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp @@ -84,6 +84,8 @@ u32 marikoGpuVoltArray[24]; u32 eristaGpuVoltArray[15]; + u32 marikoCpuVmin; + CustomizeCpuDvfsTable eristaCpuDvfsTable; CustomizeCpuDvfsTable marikoCpuDvfsTable; CustomizeCpuDvfsTable marikoCpuDvfsTableSLT; diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv_mariko.cpp b/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv_mariko.cpp index 096eedfa..c10b52cb 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv_mariko.cpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv_mariko.cpp @@ -55,7 +55,7 @@ // Patch vmin for slt if (C.marikoCpuUV) { if (*(ptr-5) == 620) { - PATCH_OFFSET((ptr-5), 600); + PATCH_OFFSET((ptr-5), C.marikoCpuVmin); } if (*(ptr-1) == 620) { PATCH_OFFSET((ptr-1), 600);