mirror of
https://github.com/ITotalJustice/sys-patch.git
synced 2024-11-23 12:49:18 +01:00
fix options "logging" key missmatch between sysmod and overlay
This commit is contained in:
parent
d5fbbd40d3
commit
e813595433
2
Makefile
2
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)),)
|
||||
|
@ -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
|
||||
```
|
||||
|
||||
---
|
||||
|
@ -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};
|
||||
};
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user