Hopefully correct setting of host mouse cursor in window and fullscreen modes.

This commit is contained in:
waltje
2017-12-15 00:42:10 -05:00
parent cf67c2a1a9
commit 3bd6b0eccc
3 changed files with 28 additions and 8 deletions

View File

@@ -8,7 +8,7 @@
*
* Platform main support module for Windows.
*
* Version: @(#)win.c 1.0.41 2017/12/13
* Version: @(#)win.c 1.0.42 2017/12/15
*
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
* Miran Grca, <mgrca8@gmail.com>
@@ -740,6 +740,9 @@ doit:
/* Release video and make it redraw the screen. */
endblit();
device_force_redraw();
/* Finally, handle the host's mouse cursor. */
show_cursor(video_fullscreen ? 0 : -1);
}