Skip to content

Commit

Permalink
Fix bug with EnumCreatedEffectObjects with v7W
Browse files Browse the repository at this point in the history
  • Loading branch information
elishacloud committed Jun 15, 2024
1 parent c52b85e commit 327413d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion BuildNo.rc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define BUILD_NUMBER 64
#define BUILD_NUMBER 65
4 changes: 1 addition & 3 deletions Versions/IDirectInputDevice7W.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,7 @@ HRESULT m_IDirectInputDevice7W::SendForceFeedbackCommand(DWORD dwFlags)

HRESULT m_IDirectInputDevice7W::EnumCreatedEffectObjects(LPDIENUMCREATEDEFFECTOBJECTSCALLBACK lpCallback, LPVOID pvRef, DWORD fl)
{
UNREFERENCED_PARAMETER(pvRef);

return ProxyInterface->EnumCreatedEffectObjects(lpCallback, lpCallback, fl);
return ProxyInterface->EnumCreatedEffectObjects(lpCallback, pvRef, fl);
}

HRESULT m_IDirectInputDevice7W::Escape(LPDIEFFESCAPE pesc)
Expand Down

0 comments on commit 327413d

Please sign in to comment.