mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-10 00:18:52 +02:00
use UnmanagedCallersOnly for delegates
This commit is contained in:
committed by
KeatonTheBot
parent
1ea90c41a9
commit
7bf6c3f016
@@ -97,7 +97,7 @@ namespace ARMeilleure.Translation
|
||||
|
||||
public virtual Operand Call(MethodInfo info, params Operand[] callArgs)
|
||||
{
|
||||
IntPtr funcPtr = Delegates.GetDelegateFuncPtr(info);
|
||||
IntPtr funcPtr = info.MethodHandle.GetFunctionPointer();
|
||||
|
||||
OperandType returnType = GetOperandType(info.ReturnType);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user