Skip to content

Commit

Permalink
Fixup a merge mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
js6pak committed Sep 30, 2022
1 parent b86b948 commit 1224a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Il2CppInterop.HarmonySupport/Il2CppDetourMethodPatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,12 @@ private DynamicMethodDefinition GenerateNativeToManagedTrampoline(MethodInfo tar
// TODO: Handle ARM
// TODO: Check if this applies to values other than structs
{
unmanagedReturnType = typeof(IntPtr);
paramStartIndex++;
}

if (!Original.IsStatic)
{
unmanagedReturnType = typeof(IntPtr);
paramStartIndex++;
}

Expand Down

0 comments on commit 1224a92

Please sign in to comment.