mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-24 22:02:39 +02:00
3.0.0 jit also requires own process handle
This commit is contained in:
parent
cd881bbc0e
commit
6b4b693842
@ -11,7 +11,8 @@ Result jitCreate(Jit* j, size_t size)
|
||||
type = JitType_JitMemory;
|
||||
}
|
||||
// Fall back to MapProcessCodeMemory if available.
|
||||
else if (envIsSyscallHinted(0x73) && envIsSyscallHinted(0x77) && envIsSyscallHinted(0x78)) {
|
||||
else if (envIsSyscallHinted(0x73) && envIsSyscallHinted(0x77) && envIsSyscallHinted(0x78)
|
||||
&& (envGetOwnProcessHandle() != INVALID_HANDLE)) {
|
||||
type = JitType_CodeMemory;
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user