mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
don't override present if we didn't actually find anything
This commit is contained in:
parent
934fc6c948
commit
a8a336009b
1 changed files with 6 additions and 2 deletions
|
|
@ -134,8 +134,12 @@ internal class SwapChainVtableResolver : BaseAddressResolver, ISwapChainAddressR
|
|||
fileInfo.FileVersion ?? "Unknown",
|
||||
reShadeDxgiPresent.ToString("X"));
|
||||
|
||||
this.Present = reShadeDxgiPresent;
|
||||
this.IsReshade = true;
|
||||
if (reShadeDxgiPresent != IntPtr.Zero)
|
||||
{
|
||||
this.Present = reShadeDxgiPresent;
|
||||
this.IsReshade = true;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue