Changeset 55341 in vbox for trunk/src/VBox
- Timestamp:
- Apr 20, 2015 1:47:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r53965 r55341 6568 6568 cParams = sscanf(pszExtraData, "%ux%ux%u", &cx, &cy, &cBits); 6569 6569 if ( cParams != 3 6570 || (cBits != 16 && cBits != 24 && cBits != 32))6570 || (cBits != 8 && cBits != 16 && cBits != 24 && cBits != 32)) 6571 6571 { 6572 6572 AssertMsgFailed(("Configuration error: Invalid mode data '%s' for '%s'! cBits=%d\n", pszExtraData, szExtraDataKey, cBits)); … … 6587 6587 switch (cBits) 6588 6588 { 6589 case 8: 6590 u16DefMode = VBE_VESA_MODE_1024X768X8; 6591 break; 6592 6589 6593 case 16: 6590 6594 u16DefMode = VBE_VESA_MODE_1024X768X565;
Note:
See TracChangeset
for help on using the changeset viewer.