Skip to content

fix: improve GTA IV capture and stability with D3D9Ex support#2

Merged
op30mmd merged 1 commit into
mainfrom
fix-gta-iv-freeze-9294808648611066424
May 9, 2026
Merged

fix: improve GTA IV capture and stability with D3D9Ex support#2
op30mmd merged 1 commit into
mainfrom
fix-gta-iv-freeze-9294808648611066424

Conversation

@op30mmd

@op30mmd op30mmd commented May 9, 2026

Copy link
Copy Markdown
Owner
  • Added hooks for IDirect3DDevice9Ex::PresentEx and ResetEx to enable capture in D3D9Ex games like GTA IV.
  • Updated InstallDeviceHooks to handle both standard and Extended Direct3D devices.
  • Ensured Hooked_CreateDevice and Hooked_CreateDeviceEx pass the correct device type for hook installation.
  • Maintained previous stability fixes: increased initialization delay, factory destruction deadlock avoidance, and re-patching safety checks.

- Added hooks for IDirect3DDevice9Ex::PresentEx and ResetEx to enable capture in D3D9Ex games like GTA IV.
- Updated InstallDeviceHooks to handle both standard and Extended Direct3D devices.
- Ensured Hooked_CreateDevice and Hooked_CreateDeviceEx pass the correct device type for hook installation.
- Maintained previous stability fixes: increased initialization delay, factory destruction deadlock avoidance, and re-patching safety checks.

Co-authored-by: op30mmd <152014555+op30mmd@users.noreply.github.com>
@op30mmd op30mmd merged commit e9b60b7 into main May 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant