sysclk: add cpu boost clocks for kip
This commit is contained in:
@@ -44,7 +44,7 @@ FreqChoiceGui::FreqChoiceGui(std::uint32_t selectedHz,
|
||||
this->module = module;
|
||||
this->listener = listener;
|
||||
this->checkMax = checkMax;
|
||||
this->labels = labels; // NEW
|
||||
this->labels = labels;
|
||||
this->configList = new SysClkConfigValueList {};
|
||||
}
|
||||
|
||||
@@ -128,9 +128,9 @@ void FreqChoiceGui::listUI()
|
||||
this->configList->values[HocClkConfigValue_MarikoMaxGpuClock] < mhz)
|
||||
continue;
|
||||
|
||||
if (moduleName == "mem" &&
|
||||
this->configList->values[HocClkConfigValue_MarikoMaxMemClock] < mhz)
|
||||
continue;
|
||||
// if (moduleName == "mem" &&
|
||||
// this->configList->values[HocClkConfigValue_MarikoMaxMemClock] < mhz)
|
||||
// continue;
|
||||
|
||||
} else if (checkMax && IsErista()) {
|
||||
if (moduleName == "cpu" &&
|
||||
@@ -141,9 +141,9 @@ void FreqChoiceGui::listUI()
|
||||
this->configList->values[HocClkConfigValue_EristaMaxGpuClock] < mhz)
|
||||
continue;
|
||||
|
||||
if (moduleName == "mem" &&
|
||||
this->configList->values[HocClkConfigValue_EristaMaxMemClock] < mhz)
|
||||
continue;
|
||||
// if (moduleName == "mem" &&
|
||||
// this->configList->values[HocClkConfigValue_EristaMaxMemClock] < mhz)
|
||||
// continue;
|
||||
}
|
||||
|
||||
if (moduleName == "mem" && mhz <= 600)
|
||||
|
||||
@@ -268,7 +268,7 @@ void MiscGui::listUI()
|
||||
);
|
||||
|
||||
|
||||
std::map<uint32_t, std::string> cpu_freq_label_m = {
|
||||
std::map<uint32_t, std::string> cpu_freq_label_m = {
|
||||
{612000000, "Sleep Mode"},
|
||||
{1020000000, "Stock"},
|
||||
{1224000000, "Dev OC"},
|
||||
@@ -329,11 +329,11 @@ void MiscGui::listUI()
|
||||
if(IsMariko()) {
|
||||
addFreqButton(HocClkConfigValue_MarikoMaxCpuClock, nullptr, SysClkModule_CPU, cpu_freq_label_m);
|
||||
addFreqButton(HocClkConfigValue_MarikoMaxGpuClock, nullptr, SysClkModule_GPU, gpu_freq_label_m);
|
||||
addFreqButton(HocClkConfigValue_MarikoMaxMemClock, nullptr, SysClkModule_MEM, emc_freq_label_m);
|
||||
// addFreqButton(HocClkConfigValue_MarikoMaxMemClock, nullptr, SysClkModule_MEM, emc_freq_label_m);
|
||||
} else {
|
||||
addFreqButton(HocClkConfigValue_EristaMaxCpuClock, nullptr, SysClkModule_CPU, cpu_freq_label_e);
|
||||
addFreqButton(HocClkConfigValue_EristaMaxGpuClock, nullptr, SysClkModule_GPU, gpu_freq_label_e);
|
||||
addFreqButton(HocClkConfigValue_EristaMaxMemClock, nullptr, SysClkModule_MEM, emc_freq_label_e);
|
||||
// addFreqButton(HocClkConfigValue_EristaMaxMemClock, nullptr, SysClkModule_MEM, emc_freq_label_e);
|
||||
}
|
||||
|
||||
this->listElement->addItem(new tsl::elm::CategoryHeader("KIP Editing"));
|
||||
@@ -357,6 +357,11 @@ void MiscGui::listUI()
|
||||
);
|
||||
this->listElement->addItem(new tsl::elm::CategoryHeader("KIP Settings"));
|
||||
|
||||
if(IsMariko())
|
||||
addFreqButton(KipConfigValue_marikoCpuBoostClock, nullptr, SysClkModule_CPU, cpu_freq_label_m);
|
||||
else
|
||||
addFreqButton(KipConfigValue_eristaCpuBoostClock, nullptr, SysClkModule_CPU, cpu_freq_label_e);
|
||||
|
||||
std::vector<NamedValue> autoAdjOptions = {
|
||||
NamedValue("AUTO_ADJ", 0),
|
||||
NamedValue("AUTO_ADJ_BL", 1)
|
||||
@@ -625,7 +630,6 @@ void MiscGui::listUI()
|
||||
);
|
||||
|
||||
|
||||
|
||||
std::vector<NamedValue> marikoTableConf = {
|
||||
NamedValue("Auto", 0),
|
||||
NamedValue("Default", 1),
|
||||
@@ -780,6 +784,8 @@ void MiscGui::listUI()
|
||||
addConfigToggle(KipConfigValue_marikoGpuFullUnlock, "GPU Full Unlock");
|
||||
|
||||
|
||||
this->listElement->addItem(new tsl::elm::CategoryHeader("GPU Custom Table"));
|
||||
|
||||
if(IsMariko()) {
|
||||
addConfigButton(
|
||||
KipConfigValue_g_volt_76800,
|
||||
|
||||
1
dist/README.md
vendored
1
dist/README.md
vendored
@@ -9,6 +9,7 @@
|
||||

|
||||
[](https://discord.com/invite/S3eX47dHsB)
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
|
||||
BIN
dist/atmosphere/contents/00FF0000636C6BFF/exefs.nsp
vendored
BIN
dist/atmosphere/contents/00FF0000636C6BFF/exefs.nsp
vendored
Binary file not shown.
Reference in New Issue
Block a user