Merge pull request #750 from daemitus/rtsslog

Log RTSS hook installation
This commit is contained in:
goaaats 2022-02-02 02:11:04 +01:00 committed by GitHub
commit 86683e835f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -198,7 +198,9 @@ namespace Dalamud.Interface.Internal
var rtssModule = NativeFunctions.GetModuleHandleW("RTSSHooks64.dll");
var installAddr = NativeFunctions.GetProcAddress(rtssModule, "InstallRTSSHook");
Log.Debug("Installing RTSS hook");
Marshal.GetDelegateForFunctionPointer<InstallRTSSHook>(installAddr).Invoke();
Log.Debug("RTSS hook OK!");
}
}
catch (Exception ex)