Skip to content

Commit

Permalink
another regs init
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Jul 29, 2024
1 parent 31da017 commit 33ac36e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libc/pc_hw/co80/conio.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,11 @@ static void
setcursor(unsigned int cursor_shape)
/* Sets the shape of the cursor */
{
__dpmi_regs reg;
__dpmi_regs regs = {};

reg.h.ah = 1;
reg.x.cx = cursor_shape;
__dpmi_int(0x10, &reg);
regs.h.ah = 1;
regs.x.cx = cursor_shape;
__dpmi_int(0x10, &regs);
} /* setcursor */

static void
Expand Down

0 comments on commit 33ac36e

Please sign in to comment.