From 48ab20d62ced70127284840f7720794c157eb304 Mon Sep 17 00:00:00 2001 From: souldbminersmwc Date: Sat, 27 Sep 2025 18:42:43 -0400 Subject: [PATCH] Revert "loader: revert mariko cpu vmin" This reverts commit 364371d0a25e71ef7f927d1642307a09cd4be3fc. --- .../loader/source/oc/customize.cpp | 3 +++ .../loader/source/oc/customize.hpp | 3 +++ .../loader/source/oc/pcv/pcv_mariko.cpp | 2 +- .../src/__pycache__/ram.cpython-313.pyc | Bin 6289 -> 6270 bytes 4 files changed, 7 insertions(+), 1 deletion(-) 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..3a635433 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/customize.hpp @@ -84,6 +84,9 @@ 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); diff --git a/Source/Configurator/src/__pycache__/ram.cpython-313.pyc b/Source/Configurator/src/__pycache__/ram.cpython-313.pyc index c3ffbf2dbb171c4985801597e7bc8bb1ea820c49..d5f20d78fce511e391ce42c36ef441b8de1bff3b 100644 GIT binary patch delta 59 zcmbPe_|Jg%GcPX}0}#kdUC)Ty$SWqu#_LpCR9v!IL$H*I(Pr{IVFkAQ