mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 05:04:15 +01:00
Merge pull request #750 from daemitus/rtsslog
Log RTSS hook installation
This commit is contained in:
commit
86683e835f
1 changed files with 2 additions and 0 deletions
|
|
@ -198,7 +198,9 @@ namespace Dalamud.Interface.Internal
|
||||||
var rtssModule = NativeFunctions.GetModuleHandleW("RTSSHooks64.dll");
|
var rtssModule = NativeFunctions.GetModuleHandleW("RTSSHooks64.dll");
|
||||||
var installAddr = NativeFunctions.GetProcAddress(rtssModule, "InstallRTSSHook");
|
var installAddr = NativeFunctions.GetProcAddress(rtssModule, "InstallRTSSHook");
|
||||||
|
|
||||||
|
Log.Debug("Installing RTSS hook");
|
||||||
Marshal.GetDelegateForFunctionPointer<InstallRTSSHook>(installAddr).Invoke();
|
Marshal.GetDelegateForFunctionPointer<InstallRTSSHook>(installAddr).Invoke();
|
||||||
|
Log.Debug("RTSS hook OK!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue