http://bugs.winehq.org/show_bug.cgi?id=29303
--- Comment #23 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-12-11 10:51:42 CST --- (In reply to comment #21)
It should be noted that with this debug option the game switches the resolution properly.
This tells me you either not running the same Wine/environment, or your program fails for totally different reason.
Tested your program here, and it works just fine if I have 640x480 mode defined. And fails the same way if I don't.