Skip to content

Commit

Permalink
hw: vmware_vga: don't return cursorx when the driver asks for cursory…
Browse files Browse the repository at this point in the history
… register

hello qemu-*@nongnu.org, this is my first contribution. apologies if
something is incorrect.

this patch fixes vmware_vga.c so that it actually returns the cursory
register when asked for, instead of cursorx.

Signed-off-by: Nicolas Owens <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
  • Loading branch information
mischief authored and Michael Tokarev committed Jun 10, 2014
1 parent 4380be0 commit e2bb4ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/display/vmware_vga.c
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ static uint32_t vmsvga_value_read(void *opaque, uint32_t address)
break;

case SVGA_REG_CURSOR_Y:
ret = s->cursor.x;
ret = s->cursor.y;
break;

case SVGA_REG_CURSOR_ON:
Expand Down

0 comments on commit e2bb4ae

Please sign in to comment.