xinput1_3: Add DECLSPEC_HOTPATCH to XInputEnable() definition

Olivier F. R. Dierick o.dierick at piezo-forte.be
Fri Jan 6 11:17:55 CST 2017


Ref: bug 42110 - regression: commit "xinput1_3 prefer builtin dll"
aliens versus predator classic 2000 (steam) fails to launch

gameoverlayrenderer.dll crash when calling XInputEnable() when using
builtin xinput1_3. Bug 32658 was same issue but with XInputGetState().
The fix to bug 32658 was to DECLSPEC_HOTPATCH the function. This patch
does the same for XInputEnable() and it fixes the issue.

Signed-off-by: Olivier F. R. Dierick <o.dierick at piezo-forte.be>
---
 dlls/xinput1_3/xinput1_3_main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
        Olivier F. R. Dierick
        o.dierick at piezo-forte.be
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-xinput1_3-add-DECLSPEC_HOTPATCH-to-XInputEnable-defi.patch
Type: application/mbox
Size: 884 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20170106/93914786/attachment.mbox>


More information about the wine-patches mailing list