This commit is contained in:
KazushiM
2021-10-26 18:37:24 +08:00
parent 4861bd0d96
commit e21d7ca6f5
5 changed files with 3 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
# Switch OC Suite
Overclocking suite for Switch **(Mariko Only)** running on Atmosphere CFW. Support Horizon OS 12.1.0/13.0.0.
Overclocking suite for Switch **(Mariko Only)** running on Atmosphere CFW. Support Horizon OS 12.1.0/13.0.0/13.1.0.

View File

@@ -1,7 +1,7 @@
#REQUIRE VER 4.0.0
#REQUIRE KEYS
targetVer = "12.1.0/13.0.0"
targetVer = "12.1.0/13.0.0/13.1.0"
pcvModulePath13 = "bis:/Contents/registered/6b675f6f9c9ec3a4448d81fa2bbc895e.nca/00"
OldBackupPath13 = "sd:/atmosphere/oc_patches/13-0-patch.bak"

View File

@@ -121,9 +121,6 @@ namespace ams::ldr {
ApplyPcvPatch(reinterpret_cast<u8 *>(mapped_nso), mapped_size, i);
return; // Return here since pcv module loads before sd card can be mounted
}
else if(memcmp(AmModuleId[i], module_id_data, sizeof(AmModuleId[i])) == 0) {
ApplyCopyrightPatch(reinterpret_cast<u8 *>(mapped_nso), mapped_size, i);
}
}
if (!EnsureSdCardMounted()) {

View File

@@ -12,7 +12,7 @@ namespace ams::ldr {
namespace {
constexpr u32 CopyrightIPSOffset[VERS] = { 0xC6128, 0xCA414, 0xCB90C }; //am_no_copyright port
constexpr u32 CopyrightIPSOffset[] = { 0xC6128, 0xCA414, 0xCB90C, 0xCBB8C }; //am_no_copyright port
constexpr u8 RET0[8] = { 0xE0, 0x03, 0x1F, 0xAA, 0xC0, 0x03, 0x5F, 0xD6 };
// MOV X0, XZR