http://bugs.winehq.org/show_bug.cgi?id=18218
Summary: spec file for xinput1_3 is incorrect Product: Wine Version: 1.1.20 Platform: PC OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput AssignedTo: wine-bugs@winehq.org ReportedBy: galtgendo@o2.pl
I found a game, that didn't run with builtin xinput1_3, but run with native xinput1_3 and d3dx9_36. After much testing and seeing a strange difference between relay on builtin and snoop on native, I took a guess and changed the order of functions in spec file. That worked, but the more correct way is probably giving proper ordinals: 2 stdcall XInputGetState(long ptr) 3 stdcall XInputSetState(long ptr) 4 stdcall XInputGetCapabilities(long long ptr) 5 stdcall XInputEnable(long) 6 stdcall XInputGetDSoundAudioDeviceGuids(long ptr ptr) 7 stdcall XInputGetBatteryInformation(long ptr ptr) 8 stdcall XInputGetKeystroke(long long ptr) That works too, game no longer needs native xinput1_3. It still needs native d3dx9_36, as D3DXCheckTextureRequirements is not implemented.