[Bug 3542] Dungeon Keeper Gold not starting

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Apr 19 10:20:20 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=3542


Benjamin Silvestre <robinetron at yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |robinetron at yahoo.fr




--- Comment #26 from Benjamin Silvestre <robinetron at yahoo.fr>  2009-04-19 10:20:15 ---
The debug trace shows the problem comes from IDirectDrawSurfaceImpl_GetPalette.
The IWineD3DPalette_GetParent call raises an exception which crashes the game.

I try to comment this few lines in dlls/ddraw/surface.c:
//     if(wPal)
//     {
//         hr = IWineD3DPalette_GetParent(wPal, (IUnknown **) Pal);
//     }
//     else
//     {
        *Pal = NULL;
        hr = DDERR_NOPALETTEATTACHED;
//     }

This is VERY dirty but it worked. The game work seems to work fine (the menu is
ok and I could start a new game). 


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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