PCem

changeset 100:6d9569f7c970

Fixed inverted vertical axis on Amstrad mouse.
author TomW
date Mon Apr 28 21:01:38 2014 +0100
parents 9bc3bcf7c871
children 6a3c97f280f5
files src/amstrad.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/src/amstrad.c	Sun Apr 27 11:40:03 2014 +0100
     1.2 +++ b/src/amstrad.c	Mon Apr 28 21:01:38 2014 +0100
     1.3 @@ -56,7 +56,7 @@
     1.4  void amstrad_mouse_poll(int x, int y, int b)
     1.5  {
     1.6          mousex += x;
     1.7 -        mousey += y;
     1.8 +        mousey -= y;
     1.9  
    1.10          if ((b & 1) && !(oldb & 1))
    1.11             keyboard_send(0x7e);