diff options
Diffstat (limited to 'dostsr.c')
-rw-r--r-- | dostsr.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -332,7 +332,8 @@ static void refresh_cursor(void) // we will have to play with the VGA registers // so let's save and restore them. if (video_planar) { - save_video_registers(®s); + vga_save_registers(®s); + vga_set_graphics_mode(®s, 0, 0); } if (data.cursor_visible) { @@ -343,7 +344,7 @@ static void refresh_cursor(void) } if (video_planar) { - restore_video_registers(®s); + vga_restore_register(®s); } } else { // Unknown video mode, don't render cursor. |