Cleanup, removed the non-working clock speed patch

This commit is contained in:
Aurora
2016-04-12 14:32:38 +02:00
parent 649b160292
commit ef3ba896d5
9 changed files with 21 additions and 55 deletions

View File

@@ -206,7 +206,7 @@ void patchCode(u64 progId, u8 *code, u32 size)
case 0x0004001000027000LL: // KOR MSET
case 0x0004001000028000LL: // TWN MSET
{
if(R_SUCCEEDED(loadConfig()) && ((config >> 6) & 1))
if(R_SUCCEEDED(loadConfig()) && ((config >> 5) & 1))
{
static const u16 verPattern[] = u"Ver.";
const u32 currentNand = ((config >> 16) & 3);
@@ -279,28 +279,5 @@ void patchCode(u64 progId, u8 *code, u32 size)
break;
}
case 0x0004013020002202LL: // N3DS PTM
{
if(R_SUCCEEDED(loadConfig()) && ((config >> 4) & 1))
{
static const u8 configN3dsCpuPattern[] = {
0x02, 0x98, 0x01, 0x79, 0x1C
};
static const u8 configN3dsCpuPatch[] = {
0x02, 0x98, 0x03, 0x21
};
//Disable SecureInfo signature check
patchMemory(code, size,
configN3dsCpuPattern,
sizeof(configN3dsCpuPattern), 0,
configN3dsCpuPatch,
sizeof(configN3dsCpuPatch), 1
);
}
break;
}
}
}