https://bugs.winehq.org/show_bug.cgi?id=42154
--- Comment #13 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Bruno Jesus from comment #12)
Another possibility is still that it expects a function to be hot patchable, I believe the only way to discard that is to make all functions hot patchable and try again. Since I cannot reproduce the issue I can't test this hypothesis.
By the way the functions are: XInputGetCapabilities XInputGetDSoundAudioDeviceGuids XInputGetState XInputSetState
I've just make those function hot patchable and Microsoft Flight Sim X still fails to load.
For me, the only approaches are, 1. Stop xinput1_3 from being unloaded or 2. Using the patch from staging.