sysclk: fix overlay crash bug
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
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