http://bugs.winehq.org/show_bug.cgi?id=29366
--- Comment #6 from Ruslan b7.10110111@gmail.com 2012-01-14 05:23:18 CST --- Created attachment 38350 --> http://bugs.winehq.org/attachment.cgi?id=38350 Return more flags, fixed return value
I've changed your patch a bit, so that the function didn't always return 0xffff. But it still doesn't work as it should. After I press a button (';', for example), the trainer gets return value 0x1 regularly even if I don't press it anymore. I'll add a test prog in the next comment.