http://bugs.winehq.org/show_bug.cgi?id=9294
Alexander Dorofeyev alexd4@inbox.lv changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexd4@inbox.lv
--- Comment #8 from Alexander Dorofeyev alexd4@inbox.lv 2008-03-15 11:24:14 --- Problems with crashes in this game after watching a video cutscene then getting into a level still exist in git wine. BTW everything works great otherwise, for example if you skip the video by loading an autosave. The problem is not always a crash, sometimes it doesn't crash but part of textures are corrupted, contain blackness or some completely wrong images.
I debugged this a bit and I believe this is related to the fact that when it shows a video cutscene it does a reinitialization of ddraw/d3d of sorts and switch of resolution. Looks like it frees the primary surface and triggers Uninit3D/Init3D calls in wined3d. So far it looked like problematic textures are the one which were created before this re-initialization, but continue to be used after it. Maybe somehow such textures are supposed to work on Windows but become corrupted on Wine (like memory freed or something). The one used to draw the mouse pointer is one such texture, I believe. Needs more debugging. If I have time I'll try to investigate this further.