diff --git a/Makefile b/Makefile index 031f582..0633d39 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.2 +export VERSION := 1.5.0 export GIT_BRANCH := $(shell git symbolic-ref --short HEAD) ifeq ($(strip $(shell git status --porcelain 2>/dev/null)),) diff --git a/overlay/src/main.cpp b/overlay/src/main.cpp index 4f5c2dc..eeea59a 100644 --- a/overlay/src/main.cpp +++ b/overlay/src/main.cpp @@ -103,6 +103,7 @@ public: list->addItem(config_noacidsigchk2.create_list_item("noacidsigchk2")); list->addItem(config_noncasigchk_old.create_list_item("noncasigchk_old")); list->addItem(config_noncasigchk_new.create_list_item("noncasigchk_new")); + list->addItem(config_noncasigchk_new2.create_list_item("noncasigchk_new2")); list->addItem(config_nocntchk_old.create_list_item("nocntchk_old")); list->addItem(config_nocntchk_new.create_list_item("nocntchk_new")); @@ -128,6 +129,7 @@ public: ConfigEntry config_noacidsigchk2{"fs", "noacidsigchk2", true}; ConfigEntry config_noncasigchk_old{"fs", "noncasigchk_old", true}; ConfigEntry config_noncasigchk_new{"fs", "noncasigchk_new", true}; + ConfigEntry config_noncasigchk_new2{"fs", "noncasigchk_new2", true}; ConfigEntry config_nocntchk_old{"fs", "nocntchk_old", true}; ConfigEntry config_nocntchk_new{"fs", "nocntchk_new", true}; ConfigEntry config_noacidsigchk{"ldr", "noacidsigchk", true}; diff --git a/sysmod/src/main.cpp b/sysmod/src/main.cpp index 6a3cf16..6e9e29c 100644 --- a/sysmod/src/main.cpp +++ b/sysmod/src/main.cpp @@ -229,7 +229,8 @@ constinit Patterns fs_patterns[] = { { "noacidsigchk1", "0xC8FE4739", -24, 0, bl_cond, ret0_patch, ret0_applied, true, FW_VER_ANY, MAKEHOSVERSION(9,2,0) }, { "noacidsigchk2", "0x0210911F000072", -5, 0, bl_cond, ret0_patch, ret0_applied, true, FW_VER_ANY, MAKEHOSVERSION(9,2,0) }, { "noncasigchk_old", "0x1E42B9", -5, 0, tbz_cond, nop_patch, nop_applied, true, MAKEHOSVERSION(10,0,0), MAKEHOSVERSION(14,2,1) }, - { "noncasigchk_new", "0x3E4479", -5, 0, tbz_cond, nop_patch, nop_applied, true, MAKEHOSVERSION(15,0,0) }, + { "noncasigchk_new", "0x3E4479", -5, 0, tbz_cond, nop_patch, nop_applied, true, MAKEHOSVERSION(15,0,0), MAKEHOSVERSION(16,1,0) }, + { "noncasigchk_new2", "0x258052", -5, 0, tbz_cond, nop_patch, nop_applied, true, MAKEHOSVERSION(17,0,0) }, { "nocntchk_old", "0x081C00121F05007181000054", -4, 0, bl_cond, ret0_patch, ret0_applied, true, MAKEHOSVERSION(10,0,0), MAKEHOSVERSION(14,2,1) }, { "nocntchk_new", "0x081C00121F05007141010054", -4, 0, bl_cond, ret0_patch, ret0_applied, true, MAKEHOSVERSION(15,0,0) }, };