Changeset 32794 in vbox
- Timestamp:
- Sep 28, 2010 2:30:57 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r32769 r32794 871 871 s->vbe_line_offset = val * ((s->vbe_regs[VBE_DISPI_INDEX_BPP] + 7) >> 3); 872 872 /* XXX: support weird bochs semantics ? */ 873 s->vbe_regs[VBE_DISPI_INDEX_VIRT_WIDTH] = s->vbe_line_offset;873 s->vbe_regs[VBE_DISPI_INDEX_VIRT_WIDTH] = val; 874 874 s->vbe_regs[VBE_DISPI_INDEX_X_OFFSET] = 0; 875 875 s->vbe_regs[VBE_DISPI_INDEX_Y_OFFSET] = 0; … … 901 901 s->vbe_line_offset = s->vbe_regs[VBE_DISPI_INDEX_XRES] * ((val + 7) >> 3); 902 902 /* XXX: support weird bochs semantics ? */ 903 s->vbe_regs[VBE_DISPI_INDEX_VIRT_WIDTH] = s->vbe_line_offset;903 s->vbe_regs[VBE_DISPI_INDEX_VIRT_WIDTH] = val; 904 904 s->vbe_regs[VBE_DISPI_INDEX_X_OFFSET] = 0; 905 905 s->vbe_regs[VBE_DISPI_INDEX_Y_OFFSET] = 0;
Note:
See TracChangeset
for help on using the changeset viewer.