dinput: Only complain for unsupported effect envelope if it really is useful.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
048964b40e
commit
f85e7d1716
|
@ -585,7 +585,8 @@ static HRESULT WINAPI LinuxInputEffectImpl_SetParameters(
|
||||||
env->fade_length = 0;
|
env->fade_length = 0;
|
||||||
env->fade_level = 0;
|
env->fade_level = 0;
|
||||||
}
|
}
|
||||||
else
|
else if(peff->lpEnvelope->dwAttackTime || peff->lpEnvelope->dwAttackLevel ||
|
||||||
|
peff->lpEnvelope->dwFadeTime || peff->lpEnvelope->dwFadeLevel)
|
||||||
WARN("Ignoring dinput envelope not supported in the linux effect\n");
|
WARN("Ignoring dinput envelope not supported in the linux effect\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue