http://bugs.winehq.org/show_bug.cgi?id=7036
--- Comment #12 from Jim Cameron jim_24601@btinternet.com 2008-08-22 17:12:31 --- Created an attachment (id=15553) --> (http://bugs.winehq.org/attachment.cgi?id=15553) Force stack alignment when starting process
Adds an assembly wrapper around the process entry point in start_process to force the stack alignment to a given value mod 16. wine_call_with_stack_align is modelled on wine_call_on_stack, but I realised half way through that we can't rely on the Windows program to preserve esi, which makes the assembly code a bit uglier. Setting 'align' to 8 matches Windows XP and makes the Doom3 demo work.