mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-29 03:46:24 +02:00
Fix Mario Kart 8 Crash and SMO Glitching Issues :3
This commit is contained in:
parent
160a58e127
commit
2901f462aa
10 changed files with 28 additions and 137 deletions
|
@ -91,7 +91,15 @@ namespace ARMeilleure.Translation.Cache
|
|||
|
||||
if (OperatingSystem.IsIOS())
|
||||
{
|
||||
Marshal.Copy(code, 0, funcPtr, code.Length);
|
||||
// Marshal.Copy(code, 0, funcPtr, code.Length);
|
||||
unsafe
|
||||
{
|
||||
fixed (byte* codePtr = code)
|
||||
{
|
||||
JitSupportDarwinAot.Copy(funcPtr, (IntPtr)codePtr, (ulong)code.Length);
|
||||
}
|
||||
}
|
||||
|
||||
if (deferProtect)
|
||||
{
|
||||
_deferredRxProtect.Enqueue((funcOffset, code.Length));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue