mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 13:14:17 +01:00
fix: only pick new sig for GShade 4.X
This commit is contained in:
parent
04fb5e01d1
commit
2d1caeb8b0
1 changed files with 3 additions and 2 deletions
|
|
@ -74,9 +74,10 @@ public class SwapChainVtableResolver : BaseAddressResolver, ISwapChainAddressRes
|
|||
{
|
||||
var fileInfo = FileVersionInfo.GetVersionInfo(processModule.FileName);
|
||||
|
||||
if (fileInfo.FileMajorPart >= 5)
|
||||
// Looks like this sig only works for GShade 4
|
||||
if (fileInfo.FileDescription?.Contains("GShade 4.") == true)
|
||||
{
|
||||
// ReShade 5/GShade 4
|
||||
Log.Verbose("Hooking present for GShade 4");
|
||||
runtimePresentSig = "E8 ?? ?? ?? ?? 45 0F B6 5E ??";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue