[Bug] Cannot move the mouse cursor to the right or down
Created by: masaklaw
Use case
In some (probably all?) games that use the mouse (e.g. Cannon Fodder
, North & South
or Beneath a Steel Sky
), at some point during runtime, the mouse cursor can no longer be moved to the right or down (including both at once). It seems that there is an invisible boundary in the middle of the screen.
The boundary appears at runtime and changes position (the available mouse movement area shrinks progresively). Trying to move the mouse cursor beyon the left or up screen boundary (which are correct) resets mouse movement area to the original/correct one. After some time the problem repeats itself.
The problem is much more easily reproduced at lower mous speed, e.g. 10%
, but appears at all mouse speed settings.
Ideas
These are purely shots in the dark, but there may be something wrong either with the:
- calculation of the mouse movement boundary,
- mouse movement tracking in regard to the boundary (maybe a rounding error accumulation?).
Environment
PUAE core version: 1a17c1e3, but this is not the first version when the problem appears - it also appears in core version as old as the beggining of 2019, maybe even older ones.
Tested on Ubuntu 20.04. Retroarch version (although t probably does not matter):
RetroArch: Frontend for libretro -- v1.8.5 Compiler: GCC (9.3.0) 64-bit