Full support for fw >= 6.x (tested)

Virtually full support for 5.x except that svcUnmapProcessMemoryEx will be forwarded to svcUnmapProcessMemory (both are equivalent for up to 64MB chunks)
This commit is contained in:
TuxSH
2017-06-16 04:21:48 +02:00
parent 9ccfacd06d
commit b71dedccfc
10 changed files with 43 additions and 21 deletions

View File

@@ -283,6 +283,7 @@ static Result loader_LoadProcess(Handle *process, u64 prog_handle)
res = HBLDR_Init(&hbldr);
if (R_FAILED(res))
{
svcBreak(USERBREAK_ASSERT);
return res;
}
u32* cmdbuf = getThreadCommandBuffer();
@@ -300,6 +301,7 @@ static Result loader_LoadProcess(Handle *process, u64 prog_handle)
}
if (R_FAILED(res))
{
svcBreak(USERBREAK_ASSERT);
return res;
}
codeset = (Handle)cmdbuf[3];