sysclk: fix overlay crash bug

This commit is contained in:
souldbminersmwc
2025-12-25 11:45:39 -05:00
parent a78fca1b91
commit 3818580928
4 changed files with 2 additions and 2 deletions

View File

@@ -194,7 +194,6 @@ void BaseMenuGui::refresh()
FatalGui::openWithResultCode("sysclkIpcGetCurrentContext", rc);
return;
}
sysclkIpcGetConfigValues(this->configList);
// dockedHighestAllowedRefreshRate = this->context->maxDisplayFreq;
// === FORMAT ALL DISPLAY STRINGS (once per second) ===

View File

@@ -1078,7 +1078,7 @@ void MiscGui::refresh() {
if (this->context && ++frameCounter >= 60) {
frameCounter = 0;
// sysclkIpcGetConfigValues(this->configList);
sysclkIpcGetConfigValues(this->configList);
updateConfigToggles();

View File

@@ -16,6 +16,7 @@ public:
void refresh() override;
protected:
SysClkConfigValueList* configList;
std::map<SysClkConfigValue, tsl::elm::ListItem*> configButtons;
std::map<SysClkConfigValue, ValueRange> configRanges;
std::map<SysClkConfigValue, std::vector<NamedValue>> configNamedValues;