fix reshade sig for ReShade 5 as well

This commit is contained in:
Kaz Wolfe 2024-06-30 14:19:21 -07:00
parent 9472a315df
commit bc16bd7835
No known key found for this signature in database
GPG key ID: 258813F53A16EBB4

View file

@ -72,10 +72,10 @@ internal class SwapChainVtableResolver : BaseAddressResolver, ISwapChainAddressR
// reshade master@4232872 RVA
// var p = processModule.BaseAddress + 0x82C7E0; // DXGISwapChain::Present
// var p = processModule.BaseAddress + 0x82FAC0; // DXGISwapChain::runtime_present
// DXGISwapChain::handle_device_loss => DXGISwapChain::Present => DXGISwapChain::runtime_present
// DXGISwapChain::handle_device_loss =>df DXGISwapChain::Present => DXGISwapChain::runtime_present
var scanner = new SigScanner(processModule);
var runtimePresentSig = "F6 C2 01 0F 85 88"; // NOTE: This sig is from reshade's DLL, normally dxgi.dll.
var runtimePresentSig = "F6 C2 01 0F 85 ?? ?? ?? ??"; // NOTE: This sig is from reshade's DLL, normally dxgi.dll.
try
{