http://bugs.winehq.org/show_bug.cgi?id=13643
--- Comment #17 from Paul Millar paul@astro.gla.ac.uk 2008-06-14 08:31:19 --- I've created special builds of winetest.exe and ddraw_test.exe with the proposed "fix" patch (attachment #13895)
http://bugs.winehq.org/attachment.cgi?id=13895
The executables are available from:
http://quisquiliae.physics.gla.ac.uk/cross/special/winetest-fixed.exe
and
http://quisquiliae.physics.gla.ac.uk/cross/special/ddraw_test-fixed.exe
Cheers,
Paul.
PS. If I may comment, the proposed solution looks ugly as you're repeating the variable initialisation explicitly. A nicer solution would be to have a simple function that resets vp_data to "known, good values" (e.g., dwX to 10, dvMaxX to 256), which the individual tests can further modify.