Revert "Merge pull request #662 from MerryMage/dsp-sig"
This reverts commita9289b1f21
, reversing changes made tod42e938232
.
This commit is contained in:
parent
a9289b1f21
commit
62d51fd99d
@ -839,24 +839,6 @@ void patchCode(u64 progId, u16 progVer, u8 *code, u32 size, u32 textSize, u32 ro
|
|||||||
)) goto error;
|
)) goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
else if(progId == 0x0004013000001A02LL) //DSP
|
|
||||||
{
|
|
||||||
static const u8 pattern[] = {
|
|
||||||
0x20, 0x20, 0xA0, 0xE3, 0x10, 0x10, 0x80, 0xE2
|
|
||||||
},
|
|
||||||
patch[] = {
|
|
||||||
0x00, 0x20, 0xA0, 0xE3
|
|
||||||
};
|
|
||||||
|
|
||||||
//Patch DSP signature check
|
|
||||||
if(!patchMemory(code, textSize,
|
|
||||||
pattern,
|
|
||||||
sizeof(pattern), 0,
|
|
||||||
patch,
|
|
||||||
sizeof(patch), 1
|
|
||||||
)) goto error;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(CONFIG(PATCHGAMES))
|
if(CONFIG(PATCHGAMES))
|
||||||
{
|
{
|
||||||
if(!loadTitleCodeSection(progId, code, size) ||
|
if(!loadTitleCodeSection(progId, code, size) ||
|
||||||
|
Reference in New Issue
Block a user