mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +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",
|
fileInfo.FileVersion ?? "Unknown",
|
||||||
reShadeDxgiPresent.ToString("X"));
|
reShadeDxgiPresent.ToString("X"));
|
||||||
|
|
||||||
|
if (reShadeDxgiPresent != IntPtr.Zero)
|
||||||
|
{
|
||||||
this.Present = reShadeDxgiPresent;
|
this.Present = reShadeDxgiPresent;
|
||||||
this.IsReshade = true;
|
this.IsReshade = true;
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue