Log RTSS hook installation

This commit is contained in:
Raymond 2022-02-01 19:35:18 -05:00
parent e90ef9da9e
commit d10d87915c

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)