https://bugs.winehq.org/show_bug.cgi?id=48157
Bug ID: 48157 Summary: SetThreatDescrption() return value E_NOTIMPL crashes StarCitizen Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernelbase Assignee: wine-bugs@winehq.org Reporter: rawfox@freenet.de Distribution: ---
Since this commit, StarCitizen does not work with wine:
https://github.com/wine-mirror/wine/commit/b4684bc561257de99ce2b3bef29cc9b62...
The function SetThreadDesciption() is returning E_NOTIMPL and StarCitizen can not eat that and crashes. Changing the return value to S_OK made the game work fine again.
Ive patched dlls/kernelbase/thread.c with this patch https://pastebin.com/GBnQrq3T and tested the game for the last days without issues.