VirtualBox

Changeset 1115 in vbox for trunk


Ignore:
Timestamp:
Feb 28, 2007 4:29:11 PM (18 years ago)
Author:
vboxsync
Message:

Check that the scan line width is not 0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r908 r1115  
    18931893    /* The width of VRAM scanline. */
    18941894    bwidth = s->line_offset;
     1895    /* In some cases the variable is not yet set, probably due to incomplete
     1896     * programming of the virtual hardware ports. Just return.
     1897     */
     1898    if (bwidth == 0) return;
    18951899#endif /* VBOX */
    18961900    y_start = -1;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette