Skip to content

Commit 1224a92

Browse files
committed
Fixup a merge mistake
1 parent b86b948 commit 1224a92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Il2CppInterop.HarmonySupport/Il2CppDetourMethodPatcher.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,12 +230,12 @@ private DynamicMethodDefinition GenerateNativeToManagedTrampoline(MethodInfo tar
230230
// TODO: Handle ARM
231231
// TODO: Check if this applies to values other than structs
232232
{
233+
unmanagedReturnType = typeof(IntPtr);
233234
paramStartIndex++;
234235
}
235236

236237
if (!Original.IsStatic)
237238
{
238-
unmanagedReturnType = typeof(IntPtr);
239239
paramStartIndex++;
240240
}
241241

0 commit comments

Comments
 (0)