diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-10-22 20:57:37 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-10-27 11:02:28 -0400 |
commit | c9aecfcd14ec5dcddd93fd84dc02a8aee61dc63e (patch) | |
tree | 9843250f50d8e2a41a3a9c63ff63b8fb1e81bf6e /vgasrc/stdvga.h | |
parent | 479fd7255fbc19224d93690916826932841abe2d (diff) | |
download | seabios-c9aecfcd14ec5dcddd93fd84dc02a8aee61dc63e.tar.gz |
vgabios: Refactor get/set_cursor_shape() code
Rework the code so that it is possible to calculate the current cursor
shape even when not changing it.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'vgasrc/stdvga.h')
-rw-r--r-- | vgasrc/stdvga.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vgasrc/stdvga.h b/vgasrc/stdvga.h index df09bab8..39753b4d 100644 --- a/vgasrc/stdvga.h +++ b/vgasrc/stdvga.h @@ -92,7 +92,7 @@ void stdvga_load_font(u16 seg, void *src_far, u16 count , u16 start, u8 destflags, u8 fontsize); u16 stdvga_get_crtc(void); int stdvga_vram_ratio(struct vgamode_s *vmode_g); -void stdvga_set_cursor_shape(u8 start, u8 end); +void stdvga_set_cursor_shape(u16 cursor_type); void stdvga_set_cursor_pos(int address); void stdvga_set_scan_lines(u8 lines); u16 stdvga_get_vde(void); |