Skip to content

Commit 1ffa737

Browse files
committed
Add one more dbghelp guard in Zero Hour
1 parent 15eb101 commit 1ffa737

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/dx8wrapper.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,11 @@ bool DX8Wrapper::Create_Device(void)
627627
_PresentParameters.AutoDepthStencilFormat==D3DFMT_D24X8))
628628
{
629629
_PresentParameters.AutoDepthStencilFormat=D3DFMT_D16;
630+
631+
// TheSuperHackers @bugfix xezon 13/06/2025 Front load the system dbghelp.dll to prevent
632+
// the graphics driver from potentially loading the old game dbghelp.dll and then crashing the game process.
633+
DbgHelpGuard dbgHelpGuard;
634+
630635
hr = D3DInterface->CreateDevice
631636
(
632637
CurRenderDevice,

0 commit comments

Comments
 (0)