Changeset 63822 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Sep 14, 2016 6:18:20 AM (8 years ago)
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp
r63562 r63822 2137 2137 else if (u32Index == VBOX_VBVA_CONF32_SCREEN_FLAGS) 2138 2138 { 2139 pConf32->u32Value = VBVA_SCREEN_F_ACTIVE | VBVA_SCREEN_F_DISABLED | VBVA_SCREEN_F_BLANK; 2139 pConf32->u32Value = VBVA_SCREEN_F_ACTIVE 2140 | VBVA_SCREEN_F_DISABLED 2141 | VBVA_SCREEN_F_BLANK 2142 | VBVA_SCREEN_F_BLANK2; 2140 2143 } 2141 2144 else if (u32Index == VBOX_VBVA_CONF32_MAX_RECORD_SIZE) -
trunk/src/VBox/Devices/Graphics/DevVGA_VDMA.cpp
r63562 r63822 1476 1476 { 1477 1477 const uint32_t u32ViewIndex = pScreen->u32ViewIndex; 1478 const bool fDisabled = RT_BOOL(pScreen->u16Flags & VBVA_SCREEN_F_DISABLED);1479 1480 if ( fDisabled)1478 const uint16_t u16Flags = pScreen->u16Flags; 1479 1480 if (u16Flags & VBVA_SCREEN_F_DISABLED) 1481 1481 { 1482 1482 if ( u32ViewIndex < pVGAState->cMonitors … … 1491 1491 else 1492 1492 { 1493 if (u16Flags & VBVA_SCREEN_F_BLANK2) 1494 { 1495 /* Special case for blanking using current video mode. 1496 * Only 'u16Flags' field is relevant. 1497 */ 1498 RT_ZERO(*pScreen); 1499 pScreen->u16Flags = u16Flags; 1500 return VINF_SUCCESS; 1501 } 1502 1493 1503 if ( u32ViewIndex < pVGAState->cMonitors 1494 1504 && pScreen->u16BitsPerPixel <= 32 … … 1561 1571 continue; 1562 1572 1563 if (!fDisable || !CurView.u32ViewSize) 1573 /* The view does not change if _BLANK2 is set. */ 1574 if ( (!fDisable || !CurView.u32ViewSize) 1575 && !RT_BOOL(Screen.u16Flags & VBVA_SCREEN_F_BLANK2)) 1564 1576 { 1565 1577 View.u32ViewIndex = Screen.u32ViewIndex;
Note:
See TracChangeset
for help on using the changeset viewer.