https://bugs.winehq.org/show_bug.cgi?id=37695
Bug ID: 37695 Summary: joySetCapture fails with uPeriod==0 Product: Wine Version: 1.6.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winmm&mci Assignee: wine-bugs@winehq.org Reporter: heha@hrz.tu-chemnitz.de Distribution: ---
joySetCapture() checks the uPeriod parameter to be between 10 and 1000, and bails out with error code JOYERR_PARMS when not in range. Seen here:
http://fossies.org/dox/wine-1.6.2/winmm_2joystick_8c_source.html
Windows (at least 98..8) behaviour is to silently accept such out-of-range parameter. In MSDN documentation, any uPeriod parameter seems to be valid.
Affected application (mine): http://www.tu-chemnitz.de/~heha/hs/Funkuhr.zip/Win9x/Funkuhr.exe
Workaround made by changing its source code: http://www.tu-chemnitz.de/~heha/hs/Funkuhr.zip/Funkuhr.exe
Source code is: http://www.tu-chemnitz.de/~heha/hs/Funkuhr.zip/src
https://bugs.winehq.org/show_bug.cgi?id=37695
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- I can confirm this issue, I have some tests.
https://bugs.winehq.org/show_bug.cgi?id=37695
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9c8978cf5c4ace98d92103029cc | |371db9cd02dd9 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com --- Fixed by 9c8978cf5c4ace98d92103029cc371db9cd02dd9
https://bugs.winehq.org/show_bug.cgi?id=37695
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.33.