mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 08:04:47 +00:00
dinput: Convert wide action format back to ansi in 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
a37346c6bb
commit
e5131028b9
|
@ -840,6 +840,7 @@ static HRESULT WINAPI dinput8_a_ConfigureDevices( IDirectInput8A *iface_a, LPDIC
|
|||
params_w.lprgFormats = &format_w;
|
||||
|
||||
if (SUCCEEDED(hr)) hr = IDirectInput8_ConfigureDevices( iface_w, callback, ¶ms_w, flags, ref );
|
||||
if (SUCCEEDED(hr)) diactionformat_wtoa( &format_w, format_a );
|
||||
|
||||
if (!format_w.hInstString)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue