diff --git a/makefile b/makefile index fb271d3..5aca72c 100644 --- a/makefile +++ b/makefile @@ -19,8 +19,9 @@ RELEASE_BASE=FinUI-$(RELEASE_TIME)b RELEASE_DOT!=find ./releases/. -regex ".*/$(RELEASE_BASE)-[0-9]+-base\.zip" -printf '.' | wc -m RELEASE_NAME=$(RELEASE_BASE)-$(RELEASE_DOT) -ifeq (,$(BUILD_HASH)) -BUILD_HASH="devRelease" +#in case BUILD_HASH is empty, put something to avoid crashing +ifeq (,$(BUILD_HASH)) +BUILD_HASH="unknown release" endif # TODO: this needs to consider the different platforms, eg. rootfs.ext2 should only be copied in rg35xx-toolchain diff --git a/skeleton/SYSTEM/rg35xx/paks/Emus/SFC.pak/default.cfg b/skeleton/SYSTEM/rg35xx/paks/Emus/SFC.pak/default.cfg index 3b5568c..6f3b92d 100644 --- a/skeleton/SYSTEM/rg35xx/paks/Emus/SFC.pak/default.cfg +++ b/skeleton/SYSTEM/rg35xx/paks/Emus/SFC.pak/default.cfg @@ -1,4 +1,3 @@ -minarch_cpu_speed = Powersave minarch_prevent_tearing = Strict bind Up = UP diff --git a/src/common/utils.c b/src/common/utils.c index 901ac27..b222a55 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -117,7 +117,7 @@ void trimSortingMeta(char** str) { // eg. `001) ` char* safe = *str; while(isdigit(**str)) *str += 1; // ignore leading numbers - if (*str[0]==')') { // then match a closing parenthesis + if (*str[0]==')' || *str[0]=='.') { // then match a closing parenthesis or dot *str += 1; } else { // or bail, restoring the string to its original value