https://bugs.winehq.org/show_bug.cgi?id=48160
--- Comment #13 from Erich E. Hoover erich.e.hoover@gmail.com --- (In reply to Alexander Milos from comment #12)
... I can provide any tracelogs or whatever else you may require.
The most likely place the problem would be is in one of the other routines that use "long double". I see (after my patch): 1) dlls/msvcrt/scanf.h:325 (the whole family of scanf functions) 2) dlls/msvcrt/wcs.c:396/491 (MSVCRT__wcstod_l) 3) dlls/ntdll/string.c:999 (NTDLL_vsscanf) So, a WINEDEBUG="+msvcrt,+ntdll" looking for these functions might help narrow it down.
However, the x87 FPU is also used by d3d - so there are some other possibilities if it's not one of these routines.