final changes

This commit is contained in:
souldbminersmwc
2026-03-22 19:25:47 -04:00
parent bc06d65b72
commit 6bd3ba7b3d
23 changed files with 2098 additions and 406 deletions

View File

@@ -39,7 +39,7 @@ include ${TOPDIR}/lib/libultrahand/ultrahand.mk
# version control constants
#---------------------------------------------------------------------------------
#TARGET_VERSION := $(shell git describe --dirty --always --tags)
APP_VERSION := 1.0.3
APP_VERSION := 1.1.0
TARGET_VERSION := $(APP_VERSION)
#---------------------------------------------------------------------------------

View File

@@ -354,7 +354,7 @@ void AppProfileGui::addProfileUI(SysClkProfile profile)
if(configList.values[HorizonOCConfigValue_OverwriteRefreshRate]) {
if(profile != SysClkProfile_Docked) {
this->addModuleListItemValue(profile, HorizonOCModule_Display, "Display", IsAula() ? 45 : 40, configList.values[HorizonOCConfigValue_MaxDisplayClockH], 1, " Hz", 1, 0, lcdThresholds);
this->addModuleListItemValue(profile, HorizonOCModule_Display, "Display", IsAula() ? 45 : 40, configList.values[HorizonOCConfigValue_MaxDisplayClockH], this->context->isUsingRetroSuper ? 5 : 1, " Hz", 1, 0, lcdThresholds);
} else {
if(IsAula() && this->context->isSysDockInstalled) {
std::vector<NamedValue> dockedFreqs = {

View File

@@ -347,6 +347,10 @@ void GlobalOverrideGui::addGovernorSection() {
void GlobalOverrideGui::listUI()
{
BaseMenuGui::refresh(); // get latest context
if(!this->context)
return;
Result rc = sysclkIpcGetConfigValues(&configList); // idk why this is needed, probably some refreshing issue
if (R_FAILED(rc)) [[unlikely]] {
FatalGui::openWithResultCode("sysclkIpcGetConfigValues", rc);
@@ -361,7 +365,7 @@ void GlobalOverrideGui::listUI()
#if IS_MINIMAL == 0
ValueThresholds lcdThresholds(60, 65);
if(configList.values[HorizonOCConfigValue_OverwriteRefreshRate])
this->addModuleListItemValue(HorizonOCModule_Display, "Display", IsAula() ? 45 : 40, configList.values[HorizonOCConfigValue_MaxDisplayClockH], 1, " Hz", 1, 0, lcdThresholds);
this->addModuleListItemValue(HorizonOCModule_Display, "Display", IsAula() ? 45 : 40, configList.values[HorizonOCConfigValue_MaxDisplayClockH], this->context->isUsingRetroSuper ? 5 : 1, " Hz", 1, 0, lcdThresholds);
#endif
this->addGovernorSection();

View File

@@ -7,11 +7,11 @@ SOURCE_DIR = os.path.join("overlay", "src", "ui", "gui")
OUTPUT_FILE = os.path.join("overlay", "lang", "en.json")
IGNORED_PREFIXES = (
"/", "\\",
"sysclk", "hocclk", "horizonoc",
"\\u",
"/",
"sysclk", "hocclk", "horizonoc"
)
UNTRANSLATABLE = {
# Developers
"Souldbminer",
@@ -108,8 +108,8 @@ def should_include(s: str) -> bool:
stripped = s.strip()
# --- Skip strings 4 characters or less ---
if len(stripped) <= 4:
# --- Skip strings 5 characters or less ---
if len(stripped) <= 5:
return False
# --- Prefix filters ---