[Bug 13198] Microsoft Pinball Arcade black/blank window in 24bpp mode

wine-bugs at winehq.org wine-bugs at winehq.org
Wed May 14 04:49:22 CDT 2008


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





--- Comment #4 from Alexander Dorofeyev <alexd4 at inbox.lv>  2008-05-14 04:49:21 ---
Created an attachment (id=13048)
 --> (http://bugs.winehq.org/attachment.cgi?id=13048)
hack to get past the black screen

The problem comes from the fact the game uses 8bpp surfaces, but doesn't set a
palette using ddraw methods. There is an undocumented feature that it's
possible to use such surfaces in ddraw, and palette is coming from somewhere
else in the system (current windows system palette afaik). I hoped there is no
stupid games that would use it but apparently I was wrong.

The attached proof of concept hack gets it (seemingly) working, but an actual
right fix for this has to be more complex. For one thing, brokedness of
{Get/Set}SystemPaletteEntries must be properly addressed in winex11.drv, and a
right place(s) must be found in wined3d to put these changes into, so that it
fixes both gdi and opengl renderers. This hack only fixes the
DirectDrawnRenderer=gdi part.


-- 
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