mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-22 08:29:18 +01:00
Merge pull request #1091 from awgil/fix-hook-address
This commit is contained in:
commit
acaa80f737
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ public class Hook<T> : IDisposable, IDalamudHook where T : Delegate
|
||||||
if (EnvironmentConfiguration.DalamudForceMinHook)
|
if (EnvironmentConfiguration.DalamudForceMinHook)
|
||||||
useMinHook = true;
|
useMinHook = true;
|
||||||
|
|
||||||
address = HookManager.FollowJmp(address);
|
this.address = address = HookManager.FollowJmp(address);
|
||||||
if (useMinHook)
|
if (useMinHook)
|
||||||
this.compatHookImpl = new MinHookHook<T>(address, detour, callingAssembly);
|
this.compatHookImpl = new MinHookHook<T>(address, detour, callingAssembly);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue