dinput: Ignore NULL callback in IDirectInput_ConfigureDevices.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52198 Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
dd1f3434d6
commit
a37346c6bb
|
@ -829,7 +829,6 @@ static HRESULT WINAPI dinput8_a_ConfigureDevices( IDirectInput8A *iface_a, LPDIC
|
|||
HRESULT hr;
|
||||
DWORD i;
|
||||
|
||||
if (!callback) return DIERR_INVALIDPARAM;
|
||||
if (FAILED(hr = diconfiguredevicesparams_atow( params_a, ¶ms_w ))) return hr;
|
||||
|
||||
format_w.dwNumActions = format_a->dwNumActions;
|
||||
|
|
Loading…
Reference in New Issue