Changeset 42122 in vbox for trunk/src/VBox/Devices/Graphics
- Timestamp:
- Jul 12, 2012 9:45:26 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r41974 r42122 913 913 #endif 914 914 915 static void recal tulate_data(VGAState *s, bool fVirtHeightOnly)915 static void recalculate_data(VGAState *s, bool fVirtHeightOnly) 916 916 { 917 917 uint16_t cBPP = s->vbe_regs[VBE_DISPI_INDEX_BPP]; … … 1169 1169 if (fRecalculate) 1170 1170 { 1171 recal tulate_data(s, false);1171 recalculate_data(s, false); 1172 1172 } 1173 1173 } … … 2467 2467 qemu_get_be16s(f, &s->vbe_regs[i]); 2468 2468 if (version_id <= VGA_SAVEDSTATE_VERSION_INV_VHEIGHT) 2469 recal tulate_data(s, false); /* <- re-calculate the s->vbe_regs[VBE_DISPI_INDEX_VIRT_HEIGHT] since it might be invalid */2469 recalculate_data(s, false); /* <- re-calculate the s->vbe_regs[VBE_DISPI_INDEX_VIRT_HEIGHT] since it might be invalid */ 2470 2470 qemu_get_be32s(f, &s->vbe_start_addr); 2471 2471 qemu_get_be32s(f, &s->vbe_line_offset);
Note:
See TracChangeset
for help on using the changeset viewer.