mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-02 10:20:59 +00:00
Moved address parameter to last place
This way, it is the last item on the evaluation stack before calling the unmanaged function pointer. This simplifies the calli rewrite procedure.
This commit is contained in:
parent
1e6a819b07
commit
c8e753d2da
|
@ -1149,14 +1149,15 @@ namespace Bind
|
|||
}
|
||||
sb.Append(">");
|
||||
}
|
||||
sb.AppendFormat("(EntryPoints[{0}]", d.Slot);
|
||||
|
||||
sb.Append("(");
|
||||
var parameter_string = GetInvocationString(d.Parameters, respect_wrappers);
|
||||
if (!String.IsNullOrEmpty(parameter_string))
|
||||
{
|
||||
sb.Append(", ");
|
||||
sb.Append(parameter_string);
|
||||
sb.Append(", ");
|
||||
}
|
||||
sb.AppendFormat("EntryPoints[{0}]", d.Slot);
|
||||
sb.Append(")");
|
||||
|
||||
return sb.ToString();
|
||||
|
|
Loading…
Reference in a new issue