Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
elishacloud committed Jun 16, 2024
1 parent 327413d commit b673121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IDirectInputDeviceX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ HRESULT m_IDirectInputDeviceX::GetCapabilities(T lpDIDevCaps)
if (SUCCEEDED(hr))
{
D didi = {};
didi.dwSize = sizeof(DIDEVICEINSTANCE);
didi.dwSize = sizeof(D);

hr = GetDeviceInfo(&didi);
if (SUCCEEDED(hr))
Expand Down

0 comments on commit b673121

Please sign in to comment.