瀏覽代碼

Fix debug logging for FastNativeDetour

Bepis 4 年之前
父節點
當前提交
01da398cba
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      BepInEx.IL2CPP/Hook/FastNativeDetour.cs

+ 1 - 1
BepInEx.IL2CPP/Hook/FastNativeDetour.cs

@@ -54,7 +54,7 @@ namespace BepInEx.IL2CPP.Hook
 
 			if (debuggerLogSource != null)
 			{
-				debuggerLogSource.LogDebug($"Detouring 0x{OriginalFunctionPtr.ToString("X")} -> 0x{OriginalFunctionPtr.ToString("X")}");
+				debuggerLogSource.LogDebug($"Detouring 0x{OriginalFunctionPtr.ToString("X")} -> 0x{DetourFunctionPtr.ToString("X")}");
 
 
 				debuggerLogSource.LogDebug("Original (32) asm");