Merge: Remove SFC core powersaving setting and avoid menu/info crashing

This commit is contained in:
Mauro 2023-06-03 19:04:06 -03:00 committed by GitHub
commit 5fb1cc8888
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -1,4 +1,3 @@
minarch_cpu_speed = Powersave
minarch_prevent_tearing = Strict
bind Up = UP

View file

@ -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