[PATCH] Wine's ChangeDisplaySettingsEx is too strict

Szombathelyi György gyurco at freemail.hu
Sat Jan 19 16:27:01 CST 2008


Hello,

There's a game, found at:
http://www.tdbsoft.com/html/projects/spore.html
It's a remake of an old 8-bit game, Spore.

The game changes display resolution with ChangeDisplaySettingsEx, but doesn't 
specify DM_PELSWIDTH and DM_PELSHEIGHT at devmode->dmFields, so it quits 
early with an error message. Of course, it works on windows. So I attached a 
patch which make wine WinXP compatible...Hope you accept it.

Regards,
György
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x11settings.diff
Type: text/x-diff
Size: 538 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080119/7e6d585c/attachment.diff 


More information about the wine-patches mailing list