sysclk: fix overlay crash bug
This commit is contained in:
1 parent
a78fca1b91
commit
3818580928
4 files changed
+2
-2
No files matched your search
@@ -194,7 +194,6 @@ void BaseMenuGui::refresh()
|
|||||||
FatalGui::openWithResultCode("sysclkIpcGetCurrentContext", rc);
|
FatalGui::openWithResultCode("sysclkIpcGetCurrentContext", rc);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
sysclkIpcGetConfigValues(this->configList);
|
|
||||||
// dockedHighestAllowedRefreshRate = this->context->maxDisplayFreq;
|
// dockedHighestAllowedRefreshRate = this->context->maxDisplayFreq;
|
||||||
|
|
||||||
// === FORMAT ALL DISPLAY STRINGS (once per second) ===
|
// === FORMAT ALL DISPLAY STRINGS (once per second) ===
|
||||||
|
|||||||
@@ -1078,7 +1078,7 @@ void MiscGui::refresh() {
|
|||||||
if (this->context && ++frameCounter >= 60) {
|
if (this->context && ++frameCounter >= 60) {
|
||||||
frameCounter = 0;
|
frameCounter = 0;
|
||||||
|
|
||||||
// sysclkIpcGetConfigValues(this->configList);
|
sysclkIpcGetConfigValues(this->configList);
|
||||||
|
|
||||||
updateConfigToggles();
|
updateConfigToggles();
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ public:
|
|||||||
void refresh() override;
|
void refresh() override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
SysClkConfigValueList* configList;
|
||||||
std::map<SysClkConfigValue, tsl::elm::ListItem*> configButtons;
|
std::map<SysClkConfigValue, tsl::elm::ListItem*> configButtons;
|
||||||
std::map<SysClkConfigValue, ValueRange> configRanges;
|
std::map<SysClkConfigValue, ValueRange> configRanges;
|
||||||
std::map<SysClkConfigValue, std::vector<NamedValue>> configNamedValues;
|
std::map<SysClkConfigValue, std::vector<NamedValue>> configNamedValues;
|
||||||
|
|||||||
Binary file not shown.
Reference in new issue
Block a user