Mercurial > repos > blastem
changeset 1197:9bc78bd89567
Minor cleanup to handle_mouse_moved
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 24 Jan 2017 23:16:21 -0800 |
parents | 74e77aec9004 |
children | 8715174e9366 |
files | io.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/io.c Tue Jan 24 23:00:56 2017 -0800 +++ b/io.c Tue Jan 24 23:16:21 2017 -0800 @@ -476,7 +476,6 @@ if (mouse >= MAX_MICE || !mice[mouse].motion_port) { return; } - //TODO: relative mode switch(current_io->mouse_mode) { case MOUSE_ABSOLUTE: { @@ -497,6 +496,7 @@ mice[mouse].motion_port->device.mouse.cur_x += deltax; mice[mouse].motion_port->device.mouse.cur_y += deltay; } + break; } } }