[Bug 9030] army men hangs on black screen

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 13 13:53:46 CDT 2010


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





--- Comment #31 from Boran Car <boran.car at gmail.com>  2010-07-13 13:53:45 ---
I have modified GetSystemPaletteEntries to return the standard 20 color Windows
palette entries every time. The results I have seen are astonishing. The
problem was that GetSystemPaletteEntries was returning the all (0,0,0) palette
entries and Army Men was passing those palette entries to DirectDraw
CreatePalette. The hack by Pavel Prochazka worked because the palette entries
were passed by reference, hence the function CreatePalette modified something
outside. If you try to copy the palette entries inside DirectDraw
CreatePalette, and modify the copy, you will see a black screen again.

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