mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 05:43:40 +01:00
Apply existing win32 hooks as corehook hooks
This commit is contained in:
parent
306a4296bd
commit
505b32ebd2
2 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ namespace Dalamud.Game.Network.Internal
|
|||
public WinSockHandlers()
|
||||
{
|
||||
this.ws2SocketHook = HookManager.DirtyLinuxUser ? null
|
||||
: Hook<SocketDelegate>.FromSymbol("ws2_32.dll", "socket", this.OnSocket);
|
||||
: Hook<SocketDelegate>.FromSymbol("ws2_32.dll", "socket", this.OnSocket, true);
|
||||
this.ws2SocketHook?.Enable();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue