[Scummvm-tracker] [ScummVM :: Bugs] #10996: Gamepad cursor jumps to the far left when you move it to the right side in Fullscreen mode

ScummVM :: Bugs trac at scummvm.org
Wed Jun 26 13:27:42 CEST 2019


#10996: Gamepad cursor jumps to the far left when you move it to the right side in
Fullscreen mode
---------------------+--------------------
  Reporter:  rophel  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  normal  |  Component:  Common
Resolution:          |   Keywords:
      Game:          |
---------------------+--------------------

Comment (by bgK):

 Looks like you put your finger on something interesting indeed. The
 gamepad -> mouse code uses 16-bits integers for some computations, and a
 16x multiplier. 2560 * 16 overflows a signed 16 bits integer, while 1920 *
 16 does not.

-- 
Ticket URL: <https://bugs.scummvm.org/ticket/10996#comment:5>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list