sysclk: fix display rate bug on lite

This commit is contained in:
souldbminersmwc
2026-01-03 21:10:18 -05:00
parent fca0c3ae15
commit c892b08097
10 changed files with 74 additions and 39 deletions

View File

@@ -484,7 +484,7 @@ void ClockManager::Tick()
isGovernorEnabled = newGovernorState;
}
if(module == HorizonOCModule_Display && this->config->GetConfigValue(HorizonOCConfigValue_OverwriteRefreshRate)) {
if(module == HorizonOCModule_Display && this->config->GetConfigValue(HorizonOCConfigValue_OverwriteRefreshRate) && Board::GetConsoleType() != HorizonOCConsoleType_Lite) {
if(targetHz)
Board::SetHz(HorizonOCModule_Display, targetHz);
else
@@ -670,7 +670,7 @@ bool ClockManager::RefreshContext()
FileUtils::WriteContextToCsv(this->context);
}
if(this->context->profile == SysClkProfile_Docked)
if(this->context->profile == SysClkProfile_Docked && !Board::GetConsoleType() == HorizonOCConsoleType_Lite)
this->context->maxDisplayFreq = Board::GetHighestDockedDisplayRate();
else
this->context->maxDisplayFreq = 60;