Merge branch 'master' into developer

This commit is contained in:
Aurora
2016-09-08 03:11:06 +02:00
9 changed files with 36 additions and 42 deletions

View File

@@ -324,9 +324,9 @@ void patchCode(u64 progId, u8 *code, u32 size)
static const u8 fpdVerPattern[] = {
0xE0, 0x1E, 0xFF, 0x2F, 0xE1, 0x01, 0x01
};
static const u8 mostRecentFpdVer = 0x06;
u8 *fpdVer = memsearch(code, fpdVerPattern, size, sizeof(fpdVerPattern));
//Allow online access to work with old friends modules, without breaking newer firmwares
@@ -399,7 +399,7 @@ void patchCode(u64 progId, u8 *code, u32 size)
u32 cpuSetting = CONFIG_NEWCPU;
if(cpuSetting)
if(cpuSetting != 0)
{
static const u8 cfgN3dsCpuPattern[] = {
0x00, 0x40, 0xA0, 0xE1, 0x07