sysclk: add vmin calculation feature

This commit is contained in:
souldbminersmwc
2026-01-02 20:11:24 -05:00
parent 64508b9ec6
commit 06884494d5
8 changed files with 87 additions and 0 deletions

View File

@@ -886,6 +886,19 @@ protected:
false
);
tsl::elm::ListItem* vminCalcBtn = new tsl::elm::ListItem("Calculate GPU Vmin");
vminCalcBtn->setClickListener([this](u64 keys) {
if (keys & HidNpadButton_A) {
Result rc = hocClkIpcCalculateGpuVmin();
if (R_FAILED(rc)) {
FatalGui::openWithResultCode("hocClkIpcCalculateGpuVmin", rc);
return false;
}
return true;
}
return false;
});
addConfigButton(
KipConfigValue_marikoGpuVmin,
"GPU VMIN",