[Bug 52393] Sacred 2 Gold: Textures largely missing since 5.0-rc3

WineHQ Bugzilla wine-bugs at winehq.org
Fri Jan 28 15:52:11 CST 2022


https://bugs.winehq.org/show_bug.cgi?id=52393

--- Comment #44 from Piotr Caban <piotr.caban at gmail.com> ---
It turns out that the problem is caused by MXCSR register value. In non working
case, it's value is 0x108001f. On my machine it's always 0x8001f. The code for
saving/restoring x87 was incorrect and was also changing MXCSR. It means that
the regression commit fixed a bug that was allowing the application to run on
your machine.

I've tried setting MXCSR to 0x108001f as on your machine. It breaks menu
background as on your screenshot.

According to your logs MXCSR is not set to this value by msvcr* functions
(probably the game uses ldmxcsr assembly instruction to set it). Anyway, in
order to fix this bug, it will be needed to find what and why is setting MXCSR
register.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list