1
0
mirror of https://github.com/simh/simh.git synced 2026-02-16 04:34:05 +00:00

VIDEO: Change the SDL mouse position in window to reflect the simulated mouse position.

This commit is contained in:
Mark Pizzolato
2015-01-14 15:19:03 -08:00
parent e0108b52a2
commit ad6dd02f18
3 changed files with 27 additions and 27 deletions

View File

@@ -760,8 +760,8 @@ else if ((vc_cur_x != CUR_X) || (vc_cur_f != CUR_F)) { /* moved (X) or mask cha
vc_invalidate (CUR_Y, (CUR_Y + 16)); /* invalidate new pos */
}
vc_cur_x = CUR_X; /* store cursor data */
vc_cur_y = CUR_Y;
vid_cursor_x = vc_cur_x = CUR_X; /* store cursor data */
vid_cursor_y = vc_cur_y = CUR_Y;
vc_cur_v = CUR_V;
vc_cur_f = CUR_F;