diff --git a/Makefile b/Makefile index d0dec9d..031f582 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ MAKEFILES := sysmod overlay TARGETS := $(foreach dir,$(MAKEFILES),$(CURDIR)/$(dir)) # the below was taken from atmosphere + switch-examples makefile -export VERSION := 1.4.1 +export VERSION := 1.4.2 export GIT_BRANCH := $(shell git symbolic-ref --short HEAD) ifeq ($(strip $(shell git status --porcelain 2>/dev/null)),) diff --git a/README.md b/README.md index 2d7a56c..f302f63 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,10 @@ The configuration file can be found in `/config/sys-patch/config.ini`. The file ```ini [options] -patch_sysmmc=1 ; 1=(default) patch sysmmc, 0=don't patch sysmmc -patch_emummc=1 ; 1=(default) patch emummc, 0=don't patch emummc -logging=1 ; 1=(default) output /config/sys-patch/log.ini 0=no log -version_skip=1 ; 1=(default) skips out of date patterns, 0=search all patterns +patch_sysmmc=1 ; 1=(default) patch sysmmc, 0=don't patch sysmmc +patch_emummc=1 ; 1=(default) patch emummc, 0=don't patch emummc +enable_logging=1 ; 1=(default) output /config/sys-patch/log.ini 0=no log +version_skip=1 ; 1=(default) skips out of date patterns, 0=search all patterns ``` --- diff --git a/overlay/src/main.cpp b/overlay/src/main.cpp index 7feef65..4f5c2dc 100644 --- a/overlay/src/main.cpp +++ b/overlay/src/main.cpp @@ -86,7 +86,7 @@ public: ConfigEntry config_patch_sysmmc{"options", "patch_sysmmc", true}; ConfigEntry config_patch_emummc{"options", "patch_emummc", true}; - ConfigEntry config_logging{"options", "patch_logging", true}; + ConfigEntry config_logging{"options", "enable_logging", true}; ConfigEntry config_version_skip{"options", "version_skip", true}; }; diff --git a/sysmod/src/main.cpp b/sysmod/src/main.cpp index 4c983b3..6a3cf16 100644 --- a/sysmod/src/main.cpp +++ b/sysmod/src/main.cpp @@ -437,7 +437,7 @@ auto ini_load_or_write_default(const char* section, const char* key, long _defau ini_putl(section, key, _default, path); return _default; } else { - return ini_getl(section, key, _default, path); + return ini_getbool(section, key, _default, path); } }